Files
vgstation13/maptools/clean_map_git.sh
ComicIronic dce9abbb0a Defficiency: Virology fixes.
Virology now actually starts with 3 random virus samples.
Removed a stray slash from a file.
Fixed a runtime with syringes trying to get the len of a 0 var.
Fixed clean_map_git not referencing the right files.
2014-11-30 12:14:44 +00:00

21 lines
470 B
Bash

#!/bin/bash
#MAPROOT='../../_maps/map_files/'
MAPROOT="../maps/"
MAPFILES=(
$MAPROOT"tgstation.dmm"
$MAPROOT"vgstation.dmm"
$MAPROOT"defficiency.dmm"
$MAPROOT"taxistation.dmm"
$MAPROOT"metaclub.dmm"
)
for MAPFILE in "${MAPFILES[@]}"
do
echo "Processing $MAPFILE..."
git show HEAD:$MAPFILE > tmp.dmm
java -jar MapPatcher.jar -clean tmp.dmm $MAPFILE $MAPFILE
#dos2unix -U '../../_maps/map_files/'$MAPFILE
rm tmp.dmm
echo "----------------------"
continue
done