diff options
author | Chris Wilson <chris+github@qwirx.com> | 2011-01-08 21:01:49 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2011-01-08 21:01:49 +0000 |
commit | 24d88d1bcbe740c230c6ddace0ef982b579e6af8 (patch) | |
tree | 0663260b4b003bfa27120382cbe4d09fb2c45751 /infrastructure | |
parent | 6054f0dba8f1ca19ac5cd6eb9b50a5ba6782b099 (diff) |
Log more useful information when makebuildenv.pl fails.
Fix hang waiting for console input at the end of ./configure
on some shells. (merges [2823])
Diffstat (limited to 'infrastructure')
-rwxr-xr-x | infrastructure/makebuildenv.pl.in | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/infrastructure/makebuildenv.pl.in b/infrastructure/makebuildenv.pl.in index f165accc..93115514 100755 --- a/infrastructure/makebuildenv.pl.in +++ b/infrastructure/makebuildenv.pl.in @@ -98,7 +98,11 @@ while(<FINDAUTOGEN>) } # run command - die "Couldn't run command $c" unless (0 == system("(cd $dir; $c)")) + unless (0 == system("(cd $dir; $c)")) + { + die "Couldn't run command $c " . + "(in $dir) for $file"; + } } } } |