include/cmake.mk: Add helper macro to handle conditionals for CMake boolean type...
[openwrt/openwrt.git] / include / scan.awk
index 39b2977..0f02782 100644 (file)
@@ -4,8 +4,10 @@ $1 !~ /^feeds/ { PKGS[$NF]=$0 }
 END {
        # Filter-out OpenWrt packages which have a feeds equivalent
        for (pkg in PKGS)
-               if (pkg in FEEDS)
+               if (pkg in FEEDS) {
+                       print PKGS[pkg] > of
                        delete PKGS[pkg]
+               }
        n = asort(PKGS)
        for (i=1; i <= n; i++) {
                print PKGS[i]