From: Rudolf Polzer <divVerent@xonotic.org>
Date: Tue, 25 Aug 2015 01:49:07 +0000 (+0200)
Subject: Make it able to use separate input and output dirs.
X-Git-Tag: xonotic-v0.8.1~1
X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=c97966a1aee076342248760be8241e110e202e95;p=xonotic%2Fmediasource.git

Make it able to use separate input and output dirs.
---

diff --git a/gfx/luma/render-version.sh b/gfx/luma/render-version.sh
index b68151e..f1e9e12 100755
--- a/gfx/luma/render-version.sh
+++ b/gfx/luma/render-version.sh
@@ -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"