]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Only clean the target, that was given in environment.
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 15 Nov 2008 16:51:15 +0000 (17:51 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 15 Nov 2008 16:51:15 +0000 (17:51 +0100)
tools/make-interactive

index 05b68b639aed1a424bdd0e888ee2135ba1a7dc35..cab9fce820b1d2de29af318cfb7313834e2f0dba 100644 (file)
@@ -95,7 +95,7 @@ clean)
 
        stdumount
 
-       for i in $POSSIBLE_TARGETS; do
+       for i in ${TARGET-${POSSIBLE_TARGETS}}; do
                echo -ne "Cleaning ${BOLD}$i${NORMAL} buildtree"
                rm -rf $BASEDIR/build_$i
                rm -rf $BASEDIR/log_$i