From 9ec117da1ab522c7dbcfd03d71fcc5aaf8b16f1a Mon Sep 17 00:00:00 2001 From: simonb Date: Mon, 17 Apr 2006 08:30:00 +0000 Subject: shell portability fix --- ChangeLog | 3 +++ autogen.sh | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 88b8a88..7ab00d2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,9 @@ (Format: Year/Month/Day) Changes for 0.9.16: *06/04/17: + * Make autogen.sh properly /bin/sh portable (Simon) + Fixes #1445464 + autogen.sh * patchset missed my fbrun -Wall fixes (Simon) util/fbrun/FbRun.cc *06/04/16: diff --git a/autogen.sh b/autogen.sh index 1bf14e8..8e062ba 100755 --- a/autogen.sh +++ b/autogen.sh @@ -4,7 +4,8 @@ dothis() { echo "Executing: $*" echo - if ! $* ;then + $* + if [ $? -ne 0 ]; then echo -e '\n ERROR: Carefully read the error message and' echo ' try to figure out what went wrong.' exit 1 -- cgit v0.11.2