Properly quote variable

This commit is contained in:
a1346054 2022-08-08 22:40:39 +00:00
parent 37261dc180
commit b5e3f156e3
No known key found for this signature in database
GPG Key ID: D149AD21DC40440C

View File

@ -67,7 +67,7 @@ mkdir -p "$TMP_DIR"
[[ ! -r "$IMG" ]] && error "'$IMG': Permission denied"
if [ -n "$3" ] && [ -r "$3" ]; then
VAGRANTFILE_ADD="$(cat $3)"
VAGRANTFILE_ADD="$(cat "$3")"
fi
# We move / copy (when the image has master) the image to the tempdir