From e2c7884c7e5e773ab40752919002433851c61e79 Mon Sep 17 00:00:00 2001 From: Jordan Lee Date: Sun, 23 Jan 2011 16:12:58 +0000 Subject: [PATCH] (trunk) #3939 "autogen.sh doesn't work correctly on systems where /bin/sh doesn't point to bash" -- fixed with patch from er13 This bug was introduced a couple of days ago in the fix to #3901 "Confusing error message when libtool is missing." The fix introduced a bashism, which should be avoided if we want to work with strict sh. --- autogen.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/autogen.sh b/autogen.sh index 56f2b745d..385f15625 100755 --- a/autogen.sh +++ b/autogen.sh @@ -24,10 +24,7 @@ export LIBTOOLIZE ./update-version-h.sh -autoreconf -fi -if [[ $? -ne 0 ]]; then - exit 1 -fi +autoreconf -fi || exit 1; if test "$GETTEXTIZE"; then