set access permissions for map screenshots dir for my web script to work
authorRudolf Polzer <divverent@alientrap.org>
Fri, 1 Oct 2010 14:17:23 +0000 (16:17 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Fri, 1 Oct 2010 14:17:23 +0000 (16:17 +0200)
misc/tools/xonotic-map-compiler-autobuild

index fdde421de67d518704bc81605dc1811b0c041d78..194905d94270839927fc863a8ec7709c29e1d9da 100755 (executable)
@@ -206,6 +206,7 @@ screenshotthemap()
                ss2spam "$M" "$url$M-$blobhash/" "$REFNAME" "$HASH" 0 > "maps/$M.ircss"
        fi
        ln -snf "../$M-$blobhash" "$M" # from ALL branches, so beware!
+       chmod -R 1777 "$M"
        rsync -vaSHP "$M-$blobhash" "$url_ssh"
        rsync -vaSHP "$M" "$url_ssh""latest/"
        if [ -n "$IRCSPAM" ]; then