Skip to content

Commit

Permalink
don't use a sub we don't define locally
Browse files Browse the repository at this point in the history
  • Loading branch information
Tony Cook committed Oct 8, 2010
1 parent 37d5681 commit 8eb5a69
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions FT2/Makefile.PL
Expand Up @@ -14,8 +14,6 @@ GetOptions("incpath=s", \@incpaths,

our $BUILDING_IMAGER;

$DB::single = 1;

my $MM_ver = eval $ExtUtils::MakeMaker::VERSION;

my %opts =
Expand Down Expand Up @@ -155,7 +153,7 @@ sub is_exe {

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;
}
}
Expand Down

0 comments on commit 8eb5a69

Please sign in to comment.