Files
CHOMPStation2/tools/mapmerge/clean_map_git.sh
Mloc-Argent 6db1484a80 tools: update MapPatcher.jar, add mapclean helper
MapPatcher.jar can now take a user-defined tile line when conflicted.
Added a clean_map_git.sh file that will automatically clean maps
without needing a prepare_map.bat call beforehand. Needs to be run in
git bash, or have .sh associated with something that has git.
Fixed line endings in install.txt to show up right in notepad.

Signed-off-by: Mloc-Argent <colmohici@gmail.com>
2014-05-15 22:00:24 +01:00

10 lines
254 B
Bash

#!/bin/sh
MAPFILE='tgstation.2.1.3.dmm'
git show HEAD:_maps/map_files/$MAPFILE > tmp.dmm
java -jar MapPatcher.jar -clean tmp.dmm '../../_maps/map_files/'$MAPFILE '../../_maps/map_files/'$MAPFILE
dos2unix -U '../../_maps/map_files/'$MAPFILE
rm tmp.dmm