]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
We should clean later; after checking if this is a failed build :D
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 30 Jun 2008 07:06:33 +0000 (09:06 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 30 Jun 2008 07:06:33 +0000 (09:06 +0200)
tools/make-batch

index 3489eceba6e89f317bac628a8f52717387703eb7..6d0508c2471fd0afa9dec4bb14f2c10b936c47ad 100644 (file)
@@ -31,8 +31,6 @@ batch_start() {
                exit 1
        fi
 
-       [ "$1" = "--clean" ] && $0 clean
-
        git_pull --batch
 
        if [ -e "$FAILED" ]; then
@@ -41,6 +39,8 @@ batch_start() {
                exit 1
        fi
 
+       [ "$1" = "--clean" ] && $0 clean
+
        screen -dmS ipfire $0 batch _run
 }