From ab7025b6664bbc546cda5f74ccaefa928fa1ac3a Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Fri, 6 Aug 2010 08:50:00 +0200 Subject: [PATCH] argh, syntax fail --- misc/tools/cached-converter.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2