Merge pull request #773 from justincormack/typo

fix typo making swap file
This commit is contained in:
Justin Cormack 2016-11-21 23:06:14 +00:00 committed by GitHub
commit 5c8e8f8eec

View File

@ -45,7 +45,7 @@ do_swapfile()
SWAP=/var/spool/swap
if [ "$(mobyplatform)" = "mac" ] || [ "$(mobyplatform)" = "windows" ] && [ ! -f $SWAP ]
then
mkdir -p "$(basnename $SWAP)"
mkdir -p "$(basename $SWAP)"
dd if=/dev/zero of=$SWAP bs=1k count=4090876
chmod 600 $SWAP
mkswap $SWAP