diff --git a/tools/linux_packaging/build b/tools/linux_packaging/build index 0120cf39fe..2cef0bb045 100755 --- a/tools/linux_packaging/build +++ b/tools/linux_packaging/build @@ -117,7 +117,7 @@ else DEBUG="F" fi -if [ x$DEBUG != x ]; then +if [ x$DEBUG = xT ]; then BUILDTYPE="dbg" if [ x$STRIP = xall ] ; then echo "A debug build with --strip all makes no sense - STRIP reset to \"some\"" diff --git a/tools/linux_packaging/package b/tools/linux_packaging/package index 8a8b111c34..f820201d88 100755 --- a/tools/linux_packaging/package +++ b/tools/linux_packaging/package @@ -5,7 +5,6 @@ # This will collect up the x86 and x86_64 bundles created by build # and package them together with an installer script. -STRIP=1 BUILDTYPE="" SINGLE_ARCH="F" X86_BUNDLE_OK="F" @@ -39,7 +38,6 @@ while [ $# -gt 0 ] ; do APPNAME=Ardour ; shift ;; - --nostrip) STRIP= ; shift ;; --singlearch) SINGLE_ARCH="T" ; shift ;; *) @@ -61,11 +59,7 @@ else fi if [ x$DEBUG != x ]; then - if [ x$STRIP != x ]; then - BUILDTYPE="strip" - else - BUILDTYPE="dbg" - fi + BUILDTYPE="dbg" fi release_version=`grep -m 1 '^VERSION' ../../wscript | awk '{print $3}' | sed "s/'//g"`