summaryrefslogtreecommitdiff
path: root/tools/edit-all-to-export-tilesets.sh
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2014-03-07 12:41:48 -0800
committerBen Longbons <b.r.longbons@gmail.com>2014-03-07 12:41:54 -0800
commit0ad0110f8e7f90452c2229fe0031ce68b7b3d1e4 (patch)
treed6c118cb5578652a48de3e0efaf9d4b02fc62a72 /tools/edit-all-to-export-tilesets.sh
parent300be2981298f9939d06f8fdc45a254ea87f6506 (diff)
downloadclientdata-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-all-to-export-tilesets.sh')
-rwxr-xr-xtools/edit-all-to-export-tilesets.sh19
1 files changed, 0 insertions, 19 deletions
diff --git a/tools/edit-all-to-export-tilesets.sh b/tools/edit-all-to-export-tilesets.sh
deleted file mode 100755
index 7be3411f..00000000
--- a/tools/edit-all-to-export-tilesets.sh
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/bash
-for MAP in $(ls maps | grep '\.tmx$')
-do
- TILESETS=$(
- grep '<tileset' "maps/$MAP" |
- while read TILESET
- do
- TILESET=${TILESET#*name=\"}
- TILESET=${TILESET%%\"*}
- echo tilesets/${TILESET}.tsx
- done
- )
- rm -f ${TILESETS}
- (cd tilesets; tiled ../maps/$MAP;)
- git add -N tilesets/
- git add --patch
-done
-
-