Author: pawelz
Date: Sat Feb 27 20:23:18 2010
New Revision: 11205
Modified:
toys/tools/cleanbuild/cleanbuild
Log:
- unified use of $FORCE variable
- enable debug in build_remove_root()
Modified: toys/tools/cleanbuild/cleanbuild
==============================================================================
--- toys/tools/cleanbuild/cleanbuild (original)
+++ toys/tools/cleanbuild/cleanbuild Sat Feb 27 20:23:18 2010
@@ -40,6 +40,7 @@
BUILD=false
INSTALL=false
CLEANAFTER=false
+FORCE=false
case "$0" in
*clean)
@@ -234,7 +235,8 @@
build_remove_root()
{
- if [ "$FORCE" ]; then
+ $NODEBUG || set -x
+ if $FORCE; then
# safety checks.
[ "$CHDIR" ] || exit 1
[ -d "$CHDIR" ] || exit 1
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit