]> git.xonotic.org Git - xonotic/xonotic.git/commitdiff
fix index file name
authorRudolf Polzer <divverent@alientrap.org>
Tue, 5 Oct 2010 12:12:06 +0000 (14:12 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Tue, 5 Oct 2010 12:12:06 +0000 (14:12 +0200)
misc/tools/xonotic-map-compiler-autobuild

index 23c7dca547a7ace6dfcd407b6dd0a47d694d3a6a..e268a512aac4729a4631b1417983863af6283fe6 100755 (executable)
@@ -306,9 +306,9 @@ case "$1" in
                git checkout -f master
                ;;
        screenshot)
-               runmakeindex > branches.idx.new
-               rsync -vaSHP "$branches.idx.new" "$url_ssh""branches.idx.new"
-               rm -f branches.idx.new
+               runmakeindex > "branches.idx.new"
+               rsync -vaSHP "branches.idx.new" "$url_ssh""branches.idx.new"
+               rm -f "branches.idx.new"
                cd data/xonotic-maps.pk3dir
                branches | while read -r HASH TYPE REFNAME; do
                        if [ -f "$screenshot_cachedir/$HASH" ]; then