Avoid nullglob

This commit is contained in:
2023-02-14 13:27:09 -05:00
parent f3aa4a0558
commit 1f484d8bfc

View File

@@ -661,9 +661,11 @@ fromSource() {
popd &>/dev/null || return 1
# Provide symlinks to images in root of BINDIR (to match Image Builder)
shopt -s nullglob
for image in "$BINDIR/targets/${TARGET}/"*.{img,img.gz,ubi}; do
ln -fs "$image" "$BINDIR/${image##*/}"
done
shopt -u nullglob
return 0
}