mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2024-08-14 22:46:53 +00:00
Make shellcheck happy
This commit is contained in:
parent
1421492f87
commit
ea8f459977
2 changed files with 2 additions and 2 deletions
2
quickemu
2
quickemu
|
@ -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
|
||||
|
|
2
quickget
2
quickget
|
@ -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…
Reference in a new issue