mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-08 05:26:58 +02:00
Avoid errors when paths contain spaces by quoting.
This commit is contained in:
parent
a3d8d43cb2
commit
b7afa4f179
@ -113,7 +113,7 @@ echo "Writing ${IMAGE_NAME} to ${DOWN_IMAGE}..."
|
|||||||
bzcat -v --stdout "${WORKDIR}/${IMAGE_NAME}" >"${DOWN_IMAGE}"
|
bzcat -v --stdout "${WORKDIR}/${IMAGE_NAME}" >"${DOWN_IMAGE}"
|
||||||
|
|
||||||
echo "Converting ${RAW_IMAGE_NAME} to VirtualBox format..."
|
echo "Converting ${RAW_IMAGE_NAME} to VirtualBox format..."
|
||||||
VBoxManage convertdd ${DOWN_IMAGE} ${VDI_IMAGE} --format VDI
|
VBoxManage convertdd "${DOWN_IMAGE}" "${VDI_IMAGE}" --format VDI
|
||||||
|
|
||||||
rm -rf "${WORKDIR}"
|
rm -rf "${WORKDIR}"
|
||||||
trap - EXIT
|
trap - EXIT
|
||||||
|
Loading…
Reference in New Issue
Block a user