Fix erronous spaces in script

This commit is contained in:
Andrew Pamment 2018-01-19 10:41:38 +10:00
parent e56ba91b5b
commit 583709835e

View File

@ -64,9 +64,9 @@ read -e bbsname
PLATFORM=`uname` PLATFORM=`uname`
if [[ "$PLATFORM" == 'FreeBSD' ]] || [[ "$PLATFORM" == 'Darwin' ]]; then if [[ "$PLATFORM" == 'FreeBSD' ]] || [[ "$PLATFORM" == 'Darwin' ]]; then
SED = gsed SED=gsed
else else
SED = sed SED=sed
fi fi
$SED -i "s@/home/andrew/MagickaBBS@${PWD}@g" config/bbs.ini $SED -i "s@/home/andrew/MagickaBBS@${PWD}@g" config/bbs.ini