Fix versionbuilder. xonotic-v0.8.1
authorRudolf Polzer <divVerent@xonotic.org>
Tue, 25 Aug 2015 13:04:20 +0000 (15:04 +0200)
committerRudolf Polzer <divVerent@xonotic.org>
Tue, 25 Aug 2015 13:04:20 +0000 (15:04 +0200)
gfx/luma/render-version.sh

index f1e9e12..3677c18 100755 (executable)
@@ -47,9 +47,9 @@ svgs="gfx/menu/luma/background_l2.svg
 
 
 for svg in $svgs; do
-       dir="$data/${svg%/*}"
-       tga="$data/${svg%.*}.tga"
+       dir="$output/${svg%/*}"
+       tga="$output/${svg%.*}.tga"
 
-       mkdir -p "$dir"
-       sed "s/LUMA/$version/g" "$svg" | rsvg-convert -z 2 | convert - -scale "50%" "$tga"
+       mkdir -p "$output"
+       sed "s/LUMA/$version/g" "$input/$svg" | rsvg-convert -z 2 | convert - -scale "50%" "$tga"
 done