]> git.pld-linux.org Git - projects/cleanbuild.git/commitdiff
- unified use of $FORCE variable
authorpawelz <pawelz@pld-linux.org>
Sat, 27 Feb 2010 19:23:18 +0000 (19:23 +0000)
committerpawelz <pawelz@pld-linux.org>
Sat, 27 Feb 2010 19:23:18 +0000 (19:23 +0000)
- enable debug in build_remove_root()

svn-id: @11205

cleanbuild

index 4fb7d2cb34977d234fb24601fbff22be142f5942..b9a4ea581ace628ed3048d000350854f049db08c 100755 (executable)
@@ -40,6 +40,7 @@ CREATE=false
 BUILD=false
 INSTALL=false
 CLEANAFTER=false
+FORCE=false
 
 case "$0" in
        *clean)
@@ -234,7 +235,8 @@ build_umount()
 
 build_remove_root()
 {
-       if [ "$FORCE" ]; then
+       $NODEBUG || set -x
+       if $FORCE; then
                # safety checks.
                [ "$CHDIR" ] || exit 1
                [ -d "$CHDIR" ] || exit 1
This page took 0.093864 seconds and 4 git commands to generate.