]> git.xonotic.org Git - xonotic/mediasource.git/commitdiff
Make it able to use separate input and output dirs.
authorRudolf Polzer <divVerent@xonotic.org>
Tue, 25 Aug 2015 01:49:07 +0000 (03:49 +0200)
committerRudolf Polzer <divVerent@xonotic.org>
Tue, 25 Aug 2015 01:49:07 +0000 (03:49 +0200)
gfx/luma/render-version.sh

index b68151e3b375ce60d080a1068926af9178e8fc77..f1e9e127c5700ac1ecc95a079468969dfe673ae3 100755 (executable)
@@ -34,13 +34,14 @@ fi
 
 # Check for arguments
 if [ -z "$1" ] || [ -z "$2" ]; then
-       echo "Usage: $0 [--no-font-check] DATADIR VERSION"
+       echo "Usage: $0 [--no-font-check] INPUTDIR OUTPUTDIR VERSION"
        exit 1
 fi
 
 
-data="$1"
-version="$2"
+input="$1"
+output="$2"
+version="$3"
 svgs="gfx/menu/luma/background_l2.svg
       gfx/menu/luma/background_ingame_l2.svg"