Permalink
Browse files

Make 'perl Build.PL' work outside of the Parrot source tree

  • Loading branch information...
1 parent 362ee8f commit 0e28feb392edc46937ed40287be7a1de82fc5b21 @leto leto committed Mar 17, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 Build.PL
View
@@ -64,7 +64,7 @@ $builder->create_build_script();
sub in_parrot_tree
{
my $cwd = cwd();
- return $cwd =~ /\bext\b.Parrot/;
+ return $cwd =~ /\bext\b.Parrot/ ? 1 : 0;
}
sub get_dl_env_var

0 comments on commit 0e28feb

Please sign in to comment.