]> git.xonotic.org Git - xonotic/mediasource.git/commitdiff
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 f1e9e127c5700ac1ecc95a079468969dfe673ae3..3677c1847c7ed9358f3dbd765e77a7eadf9003ca 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