diff --git a/qemu/bin/pathof b/qemu/bin/pathof index ce042d3..286b9db 100755 --- a/qemu/bin/pathof +++ b/qemu/bin/pathof @@ -16,5 +16,7 @@ case "$1" in ;; esac -# Print the base dir and the name of the VM +# Create the base dir if it doesn't exist and print the path of the +# ressource +mkdir -p -- "$path" printf %s/%s\\n "$path" "$QEMUSH_NAME"