13
0

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

git-svn-id: svn://localhost/ardour2/branches/3.0@9447 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Todd Naugle 2011-04-28 19:28:22 +00:00
parent 06e8b6452d
commit 83cd8d1a83
2 changed files with 2 additions and 8 deletions

View File

@ -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\""

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 '^VERSION' ../../wscript | awk '{print $3}' | sed "s/'//g"`