shell portability fix

This commit is contained in:
simonb 2006-04-17 08:30:00 +00:00
parent 78f3b0ada4
commit 9ec117da1a
2 changed files with 5 additions and 1 deletions

View file

@ -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:

View file

@ -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