]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - misc/tools/xonotic-map-compiler-autobuild
fix typo
[xonotic/xonotic.git] / misc / tools / xonotic-map-compiler-autobuild
index 672489ff3de62e899d1317c1ef9afbe3ca83c2b3..dcce6abc577abc4bf2381b103f96f43753b284c1 100755 (executable)
@@ -125,12 +125,12 @@ buildthemap()
        if [ -n "$IRCSPAM" ]; then
                pre2spam "$M" "$url$M-$blobhash.pk3" "$REFNAME" "$HASH" | $IRCSPAM
        fi
        if [ -n "$IRCSPAM" ]; then
                pre2spam "$M" "$url$M-$blobhash.pk3" "$REFNAME" "$HASH" | $IRCSPAM
        fi
-       t0=`date +$s`
+       t0=`date +%s`
        (
                cd maps
                ../../../misc/tools/xonotic-map-compiler "$M" `grep ^- "$M.map.options" | cut -d '#' -f 1` $override > "$M.log"
        )
        (
                cd maps
                ../../../misc/tools/xonotic-map-compiler "$M" `grep ^- "$M.map.options" | cut -d '#' -f 1` $override > "$M.log"
        )
-       t1=`date +$s`
+       t1=`date +%s`
        dt=$(($t1 - $t0))
        status=$?
        if [ -n "$IRCSPAM" ]; then
        dt=$(($t1 - $t0))
        status=$?
        if [ -n "$IRCSPAM" ]; then