From: Rudolf Polzer Date: Tue, 25 Aug 2015 13:04:20 +0000 (+0200) Subject: Fix versionbuilder. X-Git-Tag: xonotic-v0.8.1 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=640ef005ff45b38c0a31b24870cf05f4f76edec0;p=xonotic%2Fmediasource.git Fix versionbuilder. --- diff --git a/gfx/luma/render-version.sh b/gfx/luma/render-version.sh index f1e9e12..3677c18 100755 --- a/gfx/luma/render-version.sh +++ b/gfx/luma/render-version.sh @@ -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