From 24d88d1bcbe740c230c6ddace0ef982b579e6af8 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Sat, 8 Jan 2011 21:01:49 +0000 Subject: Log more useful information when makebuildenv.pl fails. Fix hang waiting for console input at the end of ./configure on some shells. (merges [2823]) --- infrastructure/makebuildenv.pl.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'infrastructure') 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() } # 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"; + } } } } -- cgit v1.2.3