Remove unused strip option from package script. Fixed build script to properly detect non-debug builds

git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@9446 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Todd Naugle 2011-04-28 19:26:35 +00:00
parent 0dee6d6d75
commit 0aad1c2442
2 changed files with 2 additions and 8 deletions

View file

@ -138,7 +138,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\""

View file

@ -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 '^ardour_version' ../../SConstruct | cut -d' ' -f 3 | sed "s/'//g"`