diff --git a/common.d/common.fedora.sh b/common.d/common.fedora.sh index 3968dcf..baf9702 100644 --- a/common.d/common.fedora.sh +++ b/common.d/common.fedora.sh @@ -43,11 +43,11 @@ fetch_base_system() log "Mounting generic rootfs" internal local raw_loop - raw_loop=$(losetup -Pf --show "raw_path") || { + raw_loop=$(losetup -Pf --show "$raw_path") || { log "Failed to setup loop device" ierror return 1 } - local raw_mnt=$(mktemp --temp=./tmp -d) + local raw_mnt=$(mktemp --tmpdir=./tmp -d) mount "${raw_loop}p3" "$raw_mnt" || { log "Failed to mount loop device" ierror return 1