summaryrefslogtreecommitdiff
path: root/world/map/conf/build-magic.sh
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/conf/build-magic.sh')
-rwxr-xr-xworld/map/conf/build-magic.sh19
1 files changed, 0 insertions, 19 deletions
diff --git a/world/map/conf/build-magic.sh b/world/map/conf/build-magic.sh
deleted file mode 100755
index 77337df7..00000000
--- a/world/map/conf/build-magic.sh
+++ /dev/null
@@ -1,19 +0,0 @@
-#! /bin/bash
-
-OUTPUT=magic-secrets.sex
-INPUT=$OUTPUT.template
-RSCRIPT=secrets-build
-
-if ! grep -q -s '/bin/sed' $RSCRIPT; then
- echo '#! /bin/sed -f' > $RSCRIPT;
- chmod a+x $RSCRIPT
-fi
-
-for n in `grep -o '"#..."' $INPUT`; do
- if ! grep -q $n $RSCRIPT; then
- echo "New secret ${n} needs to be set in $RSCRIPT!"
- echo "s/${n}/${n}/" >> $RSCRIPT;
- fi
-done
-
-./$RSCRIPT $INPUT > $OUTPUT