]> git.rm.cloudns.org Git - xonotic/xonotic.git/commitdiff
we still have to checkout in the screenshot system
authorRudolf Polzer <divverent@alientrap.org>
Tue, 5 Oct 2010 16:38:21 +0000 (18:38 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Tue, 5 Oct 2010 16:38:21 +0000 (18:38 +0200)
misc/tools/xonotic-map-compiler-autobuild

index ccfdfa69ff9935690daedb6952808493031ffe75..17ff0e77a4148f3afe63b3a2ecfef12334a582d2 100755 (executable)
@@ -203,10 +203,6 @@ screenshotthemap()
                continue
        fi
 
-       git reset --hard
-       git clean -xfd
-       git checkout -f "$commithash"
-
        rm -rf ~/.xonotic
        (
                cd ../..
@@ -319,6 +315,10 @@ case "$1" in
                                continue
                        fi
 
+                       git reset --hard
+                       git clean -xfd
+                       git checkout -f "$commithash"
+
                        rundownload
                        if $getthemap_fail; then
                                continue