summaryrefslogtreecommitdiff
path: root/common/process_manifest.awk
blob: 170278230e575a4b6421bcd35b2314f5f0ccb685 (plain)
1
2
3
4
5
6
7
8
9
10
11
{ content = $1 ~ /^(content|skin|locale)$/ }
content && $NF ~ /^[a-z]/ { $NF = "/" name "/" $NF }
content {
    sub(/^\.\./, "", $NF);
    $NF = "jar:chrome/" name ".jar!" $NF
}
{
    sub("^\\.\\./common/", "", $NF)
    print
}