]> git.xonotic.org Git - xonotic/xonotic.git/commitdiff
fix missing log file
authorRudolf Polzer <divverent@xonotic.org>
Sun, 16 Jun 2013 18:43:17 +0000 (20:43 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Sun, 16 Jun 2013 18:43:17 +0000 (20:43 +0200)
misc/tools/xonotic-map-compiler-autobuild

index d7a3a9364779c028fd16725b22432b99bad94b66..ca824d7bf5d33efc849483b88072d7c29590c4c4 100755 (executable)
@@ -177,11 +177,11 @@ buildthemap()
        t0=`date +%s`
        (
                cd ../..
-               misc/tools/xonotic-map-compiler-optionsfile "data/xonotic-data.pk3dir/maps/$M" $build_override > "$M.log" 2>&1
+               misc/tools/xonotic-map-compiler-optionsfile "data/xonotic-data.pk3dir/maps/$M" $build_override > "data/xonotic-data.pk3dir/maps/$M.log" 2>&1
        )
        status=$?
        if ! [ -f "maps/$M.bsp" ]; then
-               echo >>"$M.log" "ERROR: No BSP file"
+               echo >>"maps/$M.log" "ERROR: No BSP file"
        fi
        t1=`date +%s`
        dt=$(($t1 - $t0))