summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-07-29 23:57:52 +0200
committerRobin Gareus <robin@gareus.org>2016-07-29 23:58:07 +0200
commitefcf5d3866aa5f90ee95e69b582e42167799d0aa (patch)
treed220c8f6715ba9b4aa92737d1df5805407b1fbf6 /tools
parent46a69ade78b203d20d5abbcfbbe3becfb1e23ca8 (diff)
and now with proper bash syntax
Diffstat (limited to 'tools')
-rwxr-xr-xtools/linux_packaging/stage2.run.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/linux_packaging/stage2.run.in b/tools/linux_packaging/stage2.run.in
index 2d8d08dc85..995c8a361b 100755
--- a/tools/linux_packaging/stage2.run.in
+++ b/tools/linux_packaging/stage2.run.in
@@ -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