projects
/
15.05
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
build: allow openwrt.git packages to be replaced by feeds
[15.05/openwrt.git]
/
include
/
scan.awk
1
BEGIN { FS="/" }
2
$1 ~ /^feeds/ { FEEDS[$NF]=$0 }
3
$1 !~ /^feeds/ { PKGS[$NF]=$0 }
4
END {
5
# Filter-out OpenWrt packages which have a feeds equivalent
6
for (pkg in PKGS)
7
if (pkg in FEEDS)
8
delete PKGS[pkg]
9
n = asort(PKGS)
10
for (i=1; i <= n; i++) {
11
print PKGS[i]
12
}
13
n = asort(FEEDS)
14
for (i=1; i <= n; i++){
15
print FEEDS[i]
16
}
17
}