From b5977004dcf284f77cc4767534bd4d632ac99841 Mon Sep 17 00:00:00 2001 From: Lars Op den Kamp Date: Thu, 26 Jul 2012 01:23:43 +0200 Subject: [PATCH] fixed: don't match /source/ subdirectories in the PKG_DIR check --- config/path | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/path b/config/path index 80a658c29b..a87cc736af 100644 --- a/config/path +++ b/config/path @@ -55,7 +55,7 @@ SED="sed -i" PKG_IS_ADDON="no" if [ -n "$1" ]; then - PKG_DIR=`find $PACKAGES -type d -name $1 2>/dev/null` + PKG_DIR=`find $PACKAGES -type d -name $1 ! -wholename \*\/source\/\* 2>/dev/null` if [ "${PKG_DIR}" != "$(echo $PKG_DIR | tr -d '\n')" ]; then echo "Error - multiple package folders:" echo "$PKG_DIR"