[util-iso] fix make_sqfs

This commit is contained in:
udeved 2016-02-26 16:18:40 +01:00
parent 517088b900
commit c77c2241ea

View file

@ -22,7 +22,8 @@ make_sqfs() {
return 1 return 1
fi fi
local timer=$(get_timer) path=${work_dir}/iso/${iso_name}/${arch} local timer=$(get_timer) path=${work_dir}/iso/${iso_name}/${arch}
local name=${1##*/} sq_img="${path}/$name.sqfs" local name=${1##*/}
local sq_img="${path}/$name.sqfs"
mkdir -p ${path} mkdir -p ${path}
msg "Generating SquashFS image for %s" "${1}" msg "Generating SquashFS image for %s" "${1}"
if [[ -f "${sq_img}" ]]; then if [[ -f "${sq_img}" ]]; then