From dc59eae2db8ca2f4248153e5f64996b17c30566b Mon Sep 17 00:00:00 2001 From: meep-eep Date: Thu, 12 Dec 2002 01:40:28 +0000 Subject: [PATCH] './build.sh cleanall' and './build.sh distclean' work now. (currently they do the same) git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@409 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/build/build_functions | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sc2/build/build_functions b/sc2/build/build_functions index 0d7011d91..0ff494942 100644 --- a/sc2/build/build_functions +++ b/sc2/build/build_functions @@ -132,14 +132,16 @@ build_clean() { } build_cleanall() { + export BUILD_PROJECT for TARGET in $TARGETS; do - build_clean "$TARGET" + BUILD_PROJECT="$TARGET" + build_clean done + BUILD_PROJECT="" } build_distclean() { build_cleanall - rm configure }