summaryrefslogtreecommitdiff
path: root/common/process_manifest.awk
blob: 716f9e3a449c28739ddfc128f4f81e3c7bb60373 (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("^\\.\\./liberator/", "", $NF)
    print
}