Skip to content
Snippets Groups Projects
Commit a679d9f4 authored by Jason A. Donenfeld's avatar Jason A. Donenfeld
Browse files

Quote the template.

parent 1ab2c073
No related branches found
No related tags found
No related merge requests found
......@@ -21,7 +21,7 @@ tmpdir() {
rmdir "$tmp_dir"
}
trap cleanup_tmp INT TERM EXIT
tmp_dir="$(mktemp -t $template -d)"
tmp_dir="$(mktemp -t "$template" -d)"
ramdisk_dev="$(hdid -drivekey system-image=yes -nomount 'ram://32768' | cut -d ' ' -f 1)" # 32768 sectors = 16 mb
[[ -z $ramdisk_dev ]] && exit 1
newfs_hfs -M 700 "$ramdisk_dev" &>/dev/null || exit 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment