From e96792a568625f18134cff95d965127e2fef4bf6 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Sun, 12 Sep 2010 19:04:53 +0200 Subject: [PATCH] fix typos in the script --- scripts/shader-convert-nex2xon.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.39.2