summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-05-26 19:50:49 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-05-26 19:50:49 +0000
commit0fc0346e0a4364fb47700c28fbd7ffc56bb9048e (patch)
treecb8e4ea0a767bb87af0e0614fbc97f8ddc33c084
parentf8d61666e3841a32f9d2bfd191ec349f5ac231b5 (diff)
downloadmtk-20170518-0fc0346e0a4364fb47700c28fbd7ffc56bb9048e.zip
mtk-20170518-0fc0346e0a4364fb47700c28fbd7ffc56bb9048e.tar.gz
mtk-20170518-0fc0346e0a4364fb47700c28fbd7ffc56bb9048e.tar.bz2
deptest: handle packages from feeds
SVN-Revision: 16099
-rwxr-xr-xscripts/deptest.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/deptest.sh b/scripts/deptest.sh
index 4375702..4f5869c 100755
--- a/scripts/deptest.sh
+++ b/scripts/deptest.sh
@@ -19,7 +19,7 @@ mkdir -p "$STAMP_DIR" "$BUILD_DIR" "$LOG_DIR"
for pkg in `cat tmp/.packagedeps | grep CONFIG_PACKAGE | grep -v curdir | sed -e 's,.*[/=]\s*,,' | sort -u`; do
SELECTED=
- for conf in `grep CONFIG_PACKAGE tmp/.packagedeps | grep " $pkg\$" | sed -e 's,package-$(\(CONFIG_PACKAGE_.*\)).*,\1,'`; do
+ for conf in `grep CONFIG_PACKAGE tmp/.packagedeps | grep -E "[ /]$pkg\$" | sed -e 's,package-$(\(CONFIG_PACKAGE_.*\)).*,\1,'`; do
grep "$conf=" .config > /dev/null && SELECTED=1
done
[ -f "$STAMP_DIR/$pkg-done" ] && continue