deptest: handle packages from feeds
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 26 May 2009 19:50:49 +0000 (19:50 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 26 May 2009 19:50:49 +0000 (19:50 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16099 3c298f89-4303-0410-b956-a3cf2f4a3e73

scripts/deptest.sh

index 4375702..4f5869c 100755 (executable)
@@ -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
This page took 0.028309 seconds and 4 git commands to generate.