]> git.lyx.org Git - lyx.git/commitdiff
Remove bash-only construct from autogen.sh
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 20 May 2015 10:24:16 +0000 (12:24 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 20 May 2015 10:24:16 +0000 (12:24 +0200)
autogen.sh

index 64be9af984612442f7f222e18b21e369582ac03d..b58c27bf8ef1bdae130a7004f22a04454f41cc71 100755 (executable)
@@ -19,7 +19,6 @@ case $automake_version in
     *' '1.[8-9]*|*' '1.1[012345]*)
        ;;
     *)
-
        echo "This automake version is not supported by LyX."
        echo "LyX only supports automake 1.8 to 1.15."
        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