config/path: take in account dirs with "Build" script

This commit is contained in:
Stefan Saraev 2013-07-13 17:54:49 +03:00
parent a8ba00971a
commit db6464a06b

View File

@ -63,7 +63,7 @@ SED="sed -i"
else
ALL_DIRS="$ALL_DIRS\\n$DIR"
fi
if [ -f "$DIR/meta" -o -f "$DIR/install" ] ; then
if [ -f "$DIR/meta" -o -f "$DIR/install" -o -f "$DIR/build" ] ; then
FOUND=$((FOUND+1))
# found first. set $PKG_DIR
PKG_DIR="$DIR"