images_build: Fix for non-local variable.

This commit is contained in:
William Floyd 2020-07-05 02:03:35 -04:00
parent 6ffb1731bb
commit ee3a1882ae
Signed by untrusted user who does not match committer: william
GPG key ID: B3EEEDD81893CAF9

View file

@ -428,13 +428,15 @@ ${__targets}"
fi
local __target
while read -r __target; do
if ! [ -e "${__target}" ]; then
return 1
fi
done < <(sed '/^$/d' <<< "${__targets}")
done < <(sed '/^$/d' <<<"${__targets}")
if [ -e "${__hash_file}" ]; then
__file_hash="$(cat "${__hash_file}")"