summaryrefslogtreecommitdiff
path: root/infrastructure
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2011-01-08 21:01:49 +0000
committerChris Wilson <chris+github@qwirx.com>2011-01-08 21:01:49 +0000
commit24d88d1bcbe740c230c6ddace0ef982b579e6af8 (patch)
tree0663260b4b003bfa27120382cbe4d09fb2c45751 /infrastructure
parent6054f0dba8f1ca19ac5cd6eb9b50a5ba6782b099 (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-xinfrastructure/makebuildenv.pl.in6
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";
+ }
}
}
}