From 325776867790fe1b2d8fdfc19ca95dccaede4f65 Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Mon, 25 Oct 2021 14:31:07 +0100 Subject: [PATCH] Derive the absolute VMPATH --- quickemu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/quickemu b/quickemu index f7c046d..aef32e1 100755 --- a/quickemu +++ b/quickemu @@ -1114,8 +1114,8 @@ if [ -n "${VM}" ] && [ -e "${VM}" ]; then fi VMDIR=$(dirname "${disk_img}") - VMNAME=$(basename "${VM}" .conf) - VMPATH=$(dirname "${VM}") + VMNAME=$(basename "${VM}.conf") + VMPATH=$(realpath "$(dirname "${VM}")") # Backwards compatibility for ${driver_iso} if [ -n "${driver_iso}" ] && [ -z "${fixed_iso}" ]; then