summaryrefslogtreecommitdiff
path: root/tools/bin/restart-world
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2013-12-14 10:32:08 -0800
committerBen Longbons <b.r.longbons@gmail.com>2013-12-14 10:32:08 -0800
commite34e49d3064640e01305549413c862ee0a7a79aa (patch)
tree863efe11d5aa9a079188df2c9f0c112c93e13074 /tools/bin/restart-world
parent45185408935a56197c308da7ae5d27d72fe06917 (diff)
downloadserverdata-e34e49d3064640e01305549413c862ee0a7a79aa.tar.gz
serverdata-e34e49d3064640e01305549413c862ee0a7a79aa.tar.bz2
serverdata-e34e49d3064640e01305549413c862ee0a7a79aa.tar.xz
serverdata-e34e49d3064640e01305549413c862ee0a7a79aa.zip
Change tools/ to a submodule
Diffstat (limited to 'tools/bin/restart-world')
-rwxr-xr-xtools/bin/restart-world28
1 files changed, 0 insertions, 28 deletions
diff --git a/tools/bin/restart-world b/tools/bin/restart-world
deleted file mode 100755
index ccd9e453..00000000
--- a/tools/bin/restart-world
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/bash -e
-cd "$1"
-shift
-
-source restart-config
-
-for ARG
-do
- if [ "$ARG" = --auto ]
- then
- PULL=y
- elif [ "$ARG" = --manual ]
- then
- PULL=
- else
- echo unknown argument
- exit 1
- fi
-done
-
-if test -n "$PULL"
-then
- git pull
- (cd world/map/conf; cat magic.conf.template | ./spells-build > magic.conf)
-fi
-
-restart-pid tmwa-char
-restart-pid tmwa-map