From 0fc0346e0a4364fb47700c28fbd7ffc56bb9048e Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 26 May 2009 19:50:49 +0000 Subject: deptest: handle packages from feeds SVN-Revision: 16099 --- scripts/deptest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/deptest.sh b/scripts/deptest.sh index 43757026cc..4f5869c07d 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 -- cgit v1.2.3