# HG changeset patch # User Rob Landley # Date 1334468654 18000 # Node ID a246e0b13639c8b6d77a7add135092bafa854fb4 # Parent f19ce5e2ec025612ba9628176dad266196b5d05a Bug fix: DEBUG_PACKAGE shouldn't pollute NO_CLEANUP. diff -r f19ce5e2ec02 -r a246e0b13639 sources/functions.sh --- 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