From: Rudolf Polzer Date: Sun, 12 Sep 2010 17:04:53 +0000 (+0200) Subject: fix typos in the script X-Git-Tag: xonotic-v0.1.0preview~151^2~18 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e96792a568625f18134cff95d965127e2fef4bf6;p=xonotic%2Fxonotic-maps.pk3dir.git fix typos in the script --- diff --git a/scripts/shader-convert-nex2xon.sh b/scripts/shader-convert-nex2xon.sh index 68f0bfc3..75efcd85 100755 --- a/scripts/shader-convert-nex2xon.sh +++ b/scripts/shader-convert-nex2xon.sh @@ -1,10 +1,10 @@ f=$1 map() { - from=$1 - to=$2 + to=$1 + from=$2 # rawfile=$3 - sed -i "s,\\<${from#textures/}\\>,\\<${to#textures/}\\>,g" "$f" + sed -i "s,\<${from#textures/}\>,${to#textures/}," "$f" } map textures/exx/base/base_crete01 textures/eX/eX_cretebase_01 textures/exx/base-crete01 map textures/exx/base/base_crete02 textures/eX/eX_cretebase_02 textures/exx/base-crete02