fixed zsh \c bug (issue #281)

This commit is contained in:
My Spaghetti
2020-07-28 21:36:44 +03:00
parent 443a781dba
commit 94e8f98c59
+2 -2
View File
@@ -2,7 +2,7 @@
# Push-button installer of macOS on VirtualBox
# (c) myspaghetti, licensed under GPL2.0 or higher
# url: https://github.com/myspaghetti/macos-virtualbox
# version 0.96.4
# version 0.96.5
# Dependencies: bash coreutils gzip unzip wget xxd dmg2img
# Supported versions:
@@ -134,7 +134,7 @@ elif [[ "${SHELL}" =~ /zsh ]]; then
exit
fi
# make zsh parse the script (almost) like bash
setopt extendedglob sh_word_split ksh_arrays posix_argzero nullglob
setopt extendedglob sh_word_split ksh_arrays posix_argzero nullglob bsd_echo
else
echo "Can't determine SHELL. Exiting."
exit