From: Michael Tremer Date: Wed, 10 Jul 2024 17:40:40 +0000 (+0000) Subject: make.sh: Ignore directories as packages X-Git-Tag: v2.29-core188~10^2~255 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b368b19020fc917d5980c6280412523537ba1824;p=ipfire-2.x.git make.sh: Ignore directories as packages Signed-off-by: Michael Tremer --- diff --git a/make.sh b/make.sh index 6e188f9947..dfc65b485d 100755 --- a/make.sh +++ b/make.sh @@ -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