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 b68151e..f1e9e12 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"