Author: kwilliams
Date: Mon Sep 10 09:36:45 2007
New Revision: 9928

Modified:
   Module-Build/trunk/Changes
   Module-Build/trunk/lib/Module/Build/Base.pm

Log:
Compute default script_files as relative paths

Modified: Module-Build/trunk/Changes
==============================================================================
--- Module-Build/trunk/Changes  (original)
+++ Module-Build/trunk/Changes  Mon Sep 10 09:36:45 2007
@@ -1,5 +1,8 @@
 Revision history for Perl extension Module::Build.
 
+ - When finding the default set of script_files, we now compute them
+   as relative paths, not absolute. [Spotted by Curtis "Ovid" Poe]
+
  - Got rid of a call to eliminate_macros, which isn't needed in
    Module::Build since there is no external make utility involved.
    Override expand_test_dir to make up for the fact that the

Modified: Module-Build/trunk/lib/Module/Build/Base.pm
==============================================================================
--- Module-Build/trunk/lib/Module/Build/Base.pm (original)
+++ Module-Build/trunk/lib/Module/Build/Base.pm Mon Sep 10 09:36:45 2007
@@ -3246,7 +3246,7 @@
     return $_ = {$_ => 1};
   }
   
-  return $_ = { map {$_,1} $self->_files_in( File::Spec->catdir( 
$self->base_dir, 'bin' ) ) };
+  return $_ = { map {$_,1} $self->_files_in('bin') };
 }
 BEGIN { *scripts = \&script_files; }
 

Reply via email to