SHOW:
|
|
- or go back to the newest paste.
1 | #!/bin/bash | |
2 | START_SERVER='java -jar craftbukkit.jar' | |
3 | ||
4 | - | while true; do |
4 | + | # clear retval (paranoia from batch-world) |
5 | echo | |
6 | while [ $? -eq 0 ]; do | |
7 | rm -r world/ | |
8 | cp -R world_mod2 world | |
9 | $START_SERVER | |
10 | rm -r world/ | |
11 | cp -R world_mod1 world | |
12 | $START_SERVER | |
13 | done |