From 1205607d939ba9851f227ad9eecb68a87ec4345f Mon Sep 17 00:00:00 2001 From: Andrew Pamment Date: Fri, 26 Oct 2018 13:06:54 +1000 Subject: [PATCH] Another fix for setup.sh --- setup.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.sh b/setup.sh index 325839b..31316b6 100755 --- a/setup.sh +++ b/setup.sh @@ -82,7 +82,8 @@ $SED -i "s@__LOCALSTATEPREFIX__@${PWD}@g" config/localmail.ini $SED -i "s@__LOCALSTATEPREFIX__@${PWD}@g" config/filesgen.ini $SED -i "s@__LOCALSTATEPREFIX__@${PWD}@g" config/happynet.ini $SED -i "s@__BINPREFIX__@${PWD}@g" utils/magiedit/magiedit.sh -$SED -i "s@__LOCALSTATEPREFIX__@${PWD}/utils/magiedit@g" utils/magiedit/magiedit.sh +$SED -i "s@cd __LOCALSTATEPREFIX__/magiedit@cd ${PWD}/utils/magiedit/@g" utils/magiedit/magiedit.sh +$SED -i "s@__LOCALSTATEPREFIX__@${PWD}@g" utils/magiedit/magiedit.sh $SED -i "s@__EXECPREFIX__@.@g" utils/magiedit/magiedit.sh $SED -i "s@__SHAREPREFIX__@${PWD}@g" scripts/login_stanza.lua $SED -i "s/MagiChat Server = localhost/; MagiChat Server = localhost/g" config/bbs.ini