From: Rudolf Polzer <divVerent@alientrap.org>
Date: Fri, 6 Aug 2010 06:50:00 +0000 (+0200)
Subject: argh, syntax fail
X-Git-Tag: xonotic-v0.1.0preview~323^2~11
X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ab7025b6664bbc546cda5f74ccaefa928fa1ac3a;p=xonotic%2Fxonotic.git

argh, syntax fail
---

diff --git a/misc/tools/cached-converter.sh b/misc/tools/cached-converter.sh
index a9098cbf..5b1d0bf0 100755
--- a/misc/tools/cached-converter.sh
+++ b/misc/tools/cached-converter.sh
@@ -245,7 +245,7 @@ for F in "$@"; do
 	if [ -f "dds/${f}.dds" ]; then
 		if [ -z "${f##./textures/*}" ]; then
 			if [ -n "${f##./textures/*/*}" ]; then
-				ln -snf "textures/${f%./textures/}.dds" "dds/${f%./textures/}.dds"
+				ln -snf "textures/${f#./textures/}.dds" "dds/${f#./textures/}.dds"
 			fi
 		fi
 	fi