mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-29 19:42:42 +00:00
Ports Kun-Peng's general map merge scripts.
These backups all *.dmm files in the maps folder, rather than those with specific names.
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
|
||||
for i in {1..6}
|
||||
for MAPFILE in ../../maps/*.dmm
|
||||
do
|
||||
MAPFILE="exodus-$i.dmm"
|
||||
|
||||
git show HEAD:maps/$MAPFILE > tmp.dmm
|
||||
java -jar MapPatcher.jar -clean tmp.dmm '../../maps/'$MAPFILE '../../maps/'$MAPFILE
|
||||
MAPNAME=$(basename $MAPFILE)
|
||||
git show HEAD:maps/$MAPNAME > tmp.dmm
|
||||
java -jar MapPatcher.jar -clean tmp.dmm $MAPFILE $MAPFILE
|
||||
rm tmp.dmm
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user