Mercurial > hg > aboriginal
changeset 1517:a246e0b13639
Bug fix: DEBUG_PACKAGE shouldn't pollute NO_CLEANUP.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sun, 15 Apr 2012 00:44:14 -0500 |
parents | f19ce5e2ec02 |
children | b8dbb8d7d6cc |
files | sources/functions.sh |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/sources/functions.sh Sat Mar 24 22:33:32 2012 -0500 +++ b/sources/functions.sh Sun Apr 15 00:44:14 2012 -0500 @@ -86,7 +86,8 @@ is_in_list $1 $BUILD_STATIC && [ ! -z "$ARCH" ] && STATIC_FLAGS="--static" OLDCPUS=$CPUS - is_in_list $1 $DEBUG_PACKAGE && CPUS=1 + OLDNOCLEAN=$NO_CLEANUP + is_in_list $1 $DEBUG_PACKAGE && CPUS=1 && NO_CLEANUP=1 if [ -e "$SOURCES/sections/$1".build ] then @@ -98,6 +99,7 @@ . "$SOURCES"/sections/"$1".sh fi CPUS=$OLDCPUS + NO_CLEANUP=$OLDNOCLEAN } # Find appropriate miniconfig file