diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2014-03-07 12:41:48 -0800 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2014-03-07 12:41:54 -0800 |
commit | 0ad0110f8e7f90452c2229fe0031ce68b7b3d1e4 (patch) | |
tree | d6c118cb5578652a48de3e0efaf9d4b02fc62a72 /tools/edit-map-tileset-names.sh | |
parent | 300be2981298f9939d06f8fdc45a254ea87f6506 (diff) | |
download | clientdata-0ad0110f8e7f90452c2229fe0031ce68b7b3d1e4.tar.gz clientdata-0ad0110f8e7f90452c2229fe0031ce68b7b3d1e4.tar.bz2 clientdata-0ad0110f8e7f90452c2229fe0031ce68b7b3d1e4.tar.xz clientdata-0ad0110f8e7f90452c2229fe0031ce68b7b3d1e4.zip |
Replace tools dir with symlink to the canonical tools repo
This could have been done a while ago, but was delayed in case someone
updated their client-data without updating thier server-data.
Diffstat (limited to 'tools/edit-map-tileset-names.sh')
-rwxr-xr-x | tools/edit-map-tileset-names.sh | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/tools/edit-map-tileset-names.sh b/tools/edit-map-tileset-names.sh deleted file mode 100755 index 6c359e29..00000000 --- a/tools/edit-map-tileset-names.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/bash -for MAP in maps/*.tmx -do - grep '<tileset\|<image' "$MAP" | - while read TILESET && read IMAGE - do - LINE=$TILESET - TILESET=${TILESET#*name=\"} - TILESET=${TILESET%%\"*} - IMAGE=${IMAGE#*source=\"} - IMAGE=${IMAGE%%.png\"*} - IMAGE=${IMAGE##*/} - sed "/$LINE/s/$TILESET/$IMAGE/" -i "$MAP" - done -done |