]> git.imager.perl.org - imager.git/commitdiff
don't use a sub we don't define locally
authorTony Cook <tony@develop=help.com>
Fri, 8 Oct 2010 04:23:48 +0000 (04:23 +0000)
committerTony Cook <tony@develop=help.com>
Fri, 8 Oct 2010 04:23:48 +0000 (04:23 +0000)
FT2/Makefile.PL

index 45292104c90286236c0141187e6cb0368a174a61..04de9628f88ed44f3f76ced9017da18674a9a52c 100644 (file)
@@ -14,8 +14,6 @@ GetOptions("incpath=s", \@incpaths,
 
 our $BUILDING_IMAGER;
 
 
 our $BUILDING_IMAGER;
 
-$DB::single = 1;
-
 my $MM_ver = eval $ExtUtils::MakeMaker::VERSION;
 
 my %opts = 
 my $MM_ver = eval $ExtUtils::MakeMaker::VERSION;
 
 my %opts = 
@@ -155,7 +153,7 @@ sub is_exe {
 
   for my $dir (File::Spec->path) {
     for my $suffix (@exe_suffix) {
 
   for my $dir (File::Spec->path) {
     for my $suffix (@exe_suffix) {
-      -x catfile($dir, "$name$suffix")
+      -x File::Spec->catfile($dir, "$name$suffix")
        and return 1;
     }
   }
        and return 1;
     }
   }