Files
Aurora.3/tools/mapmerge2/PrepareMaps-Runtime.sh
Panter daf29bf016 Added bash versions of all the map preparing and merging scripts in 'tools/mapmerge2/'. (#6929)
* Added bash versions of all the map preparing and merging scripts in 'tools/mapmerge2/'.

* Renamed all Linux map preparation bash scripts.

* All Linux map preparation bash scripts now assume the file is being executed from the mapmerge2 directory, making the same assumption the .bat files make.

* The map merge Linux bash script now assumes the script is being run from the mapmerge2 directory, making the same assumption the .bat file makes.
2019-11-06 18:46:11 +01:00

12 lines
290 B
Bash

cd ../../maps/runtime
for f in *.dmm; do
cp -- "$f" "${f%.dmm}.dmm.backup"
done
echo "All dmm files in the maps/runtime directory have been backed up."
echo "Now you can make your changes."
echo "---"
echo "Remember to run mapmerge.sh just before you commit your changes!"
echo "---"