projects
/
librecmc
/
librecmc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bcm53xx: move BCM53573 USB 2.0 patch to use backports prefix
[librecmc/librecmc.git]
/
include
/
scan.awk
diff --git
a/include/scan.awk
b/include/scan.awk
index 39b297722851180e9f548af90cfcddfb1e5be46c..0f027823263b6cd71c40cdb20e67edc6c75e230f 100644
(file)
--- a/
include/scan.awk
+++ b/
include/scan.awk
@@
-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]