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