Make shellcheck happy

pull/163/head
Martin Wimpress 3 years ago
parent 1421492f87
commit ea8f459977
No known key found for this signature in database
GPG Key ID: 61DF940515E06DA3
  1. 2
      quickemu
  2. 2
      quickget

@ -311,7 +311,7 @@ function vm_boot() {
fi
echo ", ${RAM_VM} RAM"
if [ ${RAM_VM//G/} -lt 4 ]; then
if [ "${RAM_VM//G/}" -lt 4 ]; then
if [ "${guest_os}" == "macos" ] || [ "${guest_os}" == "windows" ]; then
echo "ERROR! You have insufficient RAM to run ${guest_os} in a VM"
exit 1

@ -770,7 +770,7 @@ function get_macos() {
esac
# Use a bundled macrecovery if possible
CWD="$(dirname ${0})"
CWD="$(dirname "${0}")"
if [ -x "${CWD}/macrecovery" ]; then
MACRECOVERY="${CWD}/macrecovery"
elif [ -x /usr/bin/macrecovery ]; then

Loading…
Cancel
Save