|
@@ -1,6 +1,16 @@
|
|
|
#!/bin/bash
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
-rsync -av \
|
|
|
|
|
- --exclude='dev/' \
|
|
|
|
|
- --exclude='logfile/' \
|
|
|
|
|
- _output.server_dev/ _output.server/
|
|
|
|
|
|
|
+cd "$(dirname "$0")"
|
|
|
|
|
+
|
|
|
|
|
+if [ "$1" == "battle" ]; then
|
|
|
|
|
+ rsync -av \
|
|
|
|
|
+ --exclude='Config.json' \
|
|
|
|
|
+ --exclude='libslua.so' \
|
|
|
|
|
+ --exclude='*.sh' \
|
|
|
|
|
+ _output.battle.server/ ../_output.battle.server/
|
|
|
|
|
+else
|
|
|
|
|
+ rsync -av \
|
|
|
|
|
+ --exclude='dev/' \
|
|
|
|
|
+ --exclude='logfile/' \
|
|
|
|
|
+ _output.server/ ../_output.server/
|
|
|
|
|
+fi
|