mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-22 08:01:06 +00:00
* 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.
12 lines
304 B
Bash
12 lines
304 B
Bash
cd ../../maps/dungeon_spawns
|
|
|
|
for f in *.dmm; do
|
|
cp -- "$f" "${f%.dmm}.dmm.backup"
|
|
done
|
|
|
|
echo "All dmm files in the maps/dungeon_spawns 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 "---"
|