Fix missing quotes when retrieving PACKAGE_DIR

This commit is contained in:
leafee98 2023-08-18 15:57:26 +08:00
parent 1310c2f6f1
commit c6a80b741b

View file

@ -99,7 +99,7 @@ else
MAKEDEB_PATH="$(realpath "$MAKEDEB_PATH")"
fi
if [[ -n ${PACKAGE_DIR-} && "${#PACKAGE_DIR}" -gt 0 ]] ; then
if [[ -n "${PACKAGE_DIR-}" && "${#PACKAGE_DIR}" -gt 0 ]] ; then
for p in "${PACKAGE_DIR[@]}" ; do
for f in "$p"/* ; do
_PACKGES_TO_BUILD+=("$f")