and now with proper bash syntax
authorRobin Gareus <robin@gareus.org>
Fri, 29 Jul 2016 21:57:52 +0000 (23:57 +0200)
committerRobin Gareus <robin@gareus.org>
Fri, 29 Jul 2016 21:58:07 +0000 (23:58 +0200)
tools/linux_packaging/stage2.run.in

index 2d8d08dc853f52cf51aaeab970fe64c1e4137f4b..995c8a361b656e2e7b8654d6be6ae8324e02faac 100755 (executable)
@@ -234,7 +234,7 @@ esac
 # Determine gcc ABI
 ###################
 
-if -n "$MULTABI_BUNDLE"; then
+if test -n "$MULTABI_BUNDLE"; then
        if ! ${NORM_USER} "${PKG_PATH}/.gcc-glibmm-abi-check --gcc5 > /dev/null"; then
                ABI=-gcc4
        else
@@ -296,7 +296,7 @@ fi
 # Determine C11 stdlibc++ ABI
 #############################
 
-if -z "$ABI"; then
+if test -z "$ABI"; then
        if %REPLACE_GCC5%; then
                # Ardour was compiled with gcc5, warn on gcc4 systems
                if ! ${NORM_USER} "${PKG_PATH}/.gcc-glibmm-abi-check --gcc5 > /dev/null"; then