Skip to content

Commit

Permalink
Make shellcheck happy
Browse files Browse the repository at this point in the history
  • Loading branch information
flexiondotorg committed Oct 27, 2021
1 parent 1421492 commit ea8f459
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion quickemu
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion quickget
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ea8f459

Please sign in to comment.