make.sh: Ignore directories as packages

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2024-07-10 17:40:40 +00:00
parent 59e07d4ba8
commit b368b19020

View File

@@ -2065,6 +2065,11 @@ build_packages() {
for path in \
"${BASEDIR}/config/rootfiles/packages/"* \
"${BASEDIR}/config/rootfiles/packages/${BUILD_ARCH}"/*; do
# Skip directories
if [ -d "${path}" ]; then
continue
fi
pkgs["${path##*/}"]="${path}"
done