commit d4b3de581cddc6c086f972698f5481f07405a436
Author: Jean-Marc Lasgouttes <lasgout...@lyx.org>
Date:   Wed May 20 12:24:16 2015 +0200

    Remove bash-only construct from autogen.sh

diff --git a/autogen.sh b/autogen.sh
index 750d7a7..4e54eb6 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -19,7 +19,6 @@ case $automake_version in
     *' '1.[8-9]*|*' '1.1[01234]*)
        ;;
     *)
-
        echo "This automake version is not supported by LyX."
        echo "LyX only supports automake 1.8 to 1.14."
        exit 1
@@ -36,7 +35,6 @@ test "$autoversion" != "" && {
     exit 1
 }
 
-
 case $autoversion in
     *' '2.60[ab]|*' '2.6[0-9])
        ;;
@@ -85,7 +83,9 @@ else
 fi
 
 echo "Building po/POTFILES.in..."
-if (! make -s -f po/Rules-lyx srcdir=po top_srcdir=. po/POTFILES.in ); then
+if ( make -s -f po/Rules-lyx srcdir=po top_srcdir=. po/POTFILES.in ); then
+    :
+else
        echo "Building po/POTFILES.in failed -- aborting"
        exit 1
 fi
diff --git a/status.21x b/status.21x
index aa69b0b..fa7f92e 100644
--- a/status.21x
+++ b/status.21x
@@ -246,3 +246,4 @@ What's new
 
 - Fix build with gcc 5.1 using libstdc++ with C++11 ABI.
 
+- Fix bash-ism in ./autogen.sh script.

Reply via email to