Skip to content

Commit

Permalink
Explicitly use perl from the path to run build script.
Browse files Browse the repository at this point in the history
(and not this perl, so don't use $^X)
This script needs to run on Cygwin with non-cygwin perl if it's running
in tandem with AS/MinGW perl, since Cygwin perl doesn't honor locks
the samne way, and the global lock fails. But the build script needs
to run with the native perl, even on Cygwin, which it picks up from
the path. (Head exploding yet?).
  • Loading branch information
adunstan committed Jul 28, 2011
1 parent b602765 commit 2134383
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion run_branches.pl
Expand Up @@ -143,7 +143,14 @@ sub run_branch
{ {
my $branch = shift; my $branch = shift;
my @args = ($run_build,PGBuild::Options::standard_option_list(), $branch); my @args = ($run_build,PGBuild::Options::standard_option_list(), $branch);
system(@args);
# Explicitly use perl from the path (and not this perl, so don't use $^X)
# This script needs to run on Cygwin with non-cygwin perl if it's running
# in tandem with AS/MinGW perl, since Cygwin perl doesn't honor locks
# the samne way, and the global lock fails. But the build script needs
# to run with the native perl, even on Cygwin, which it picks up from
# the path. (Head exploding yet?).
system("perl",@args);
} }


sub branch_last_sort sub branch_last_sort
Expand Down

0 comments on commit 2134383

Please sign in to comment.