diff options
Diffstat (limited to 'conf/build-magic.sh')
-rwxr-xr-x | conf/build-magic.sh | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/conf/build-magic.sh b/conf/build-magic.sh deleted file mode 100755 index f064a286..00000000 --- a/conf/build-magic.sh +++ /dev/null @@ -1,21 +0,0 @@ -#! /bin/bash - -RSCRIPT="spells-build" - -if [ -a $RSCRIPT ]; then printf ""; else - echo '#! /bin/bash' > $RSCRIPT; - echo 'sed \' >> $RSCRIPT; - chmod a+x $RSCRIPT -fi - -for n in `grep -o '"#..."' magic.conf.template`; do - if grep $n $RSCRIPT; then printf ""; else - CHANGES=1 - echo "'s/${n}/${n}/;'\\" >> $RSCRIPT; - fi -done - -if [ x$CHANGES == x1 ] -then echo "${RSCRIPT} has been updated; please provide invocations for spells and/or teleport anchors."; -else cat magic.conf.template | ./$RSCRIPT > magic.conf; -fi |