Make shellcheck happy
This commit is contained in:
parent
1421492f87
commit
ea8f459977
2
quickemu
2
quickemu
@ -311,7 +311,7 @@ function vm_boot() {
|
|||||||
fi
|
fi
|
||||||
echo ", ${RAM_VM} RAM"
|
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
|
if [ "${guest_os}" == "macos" ] || [ "${guest_os}" == "windows" ]; then
|
||||||
echo "ERROR! You have insufficient RAM to run ${guest_os} in a VM"
|
echo "ERROR! You have insufficient RAM to run ${guest_os} in a VM"
|
||||||
exit 1
|
exit 1
|
||||||
|
2
quickget
2
quickget
@ -770,7 +770,7 @@ function get_macos() {
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
# Use a bundled macrecovery if possible
|
# Use a bundled macrecovery if possible
|
||||||
CWD="$(dirname ${0})"
|
CWD="$(dirname "${0}")"
|
||||||
if [ -x "${CWD}/macrecovery" ]; then
|
if [ -x "${CWD}/macrecovery" ]; then
|
||||||
MACRECOVERY="${CWD}/macrecovery"
|
MACRECOVERY="${CWD}/macrecovery"
|
||||||
elif [ -x /usr/bin/macrecovery ]; then
|
elif [ -x /usr/bin/macrecovery ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user