blob: 8a513932eb5daa8469db249eca1b32eb69d8acd7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
BEGIN {
chrome = "chrome"
if (suffix)
chrome = suffix
}
{ content = $1 ~ /^(content|skin|locale|resource)$/ }
content && $NF ~ /^[a-z]/ { $NF = "/" name "/" $NF }
content {
sub(/^\.\./, "", $NF);
if (isjar)
$NF = "jar:chrome/" name ".jar!" $NF
else
$NF = chrome $NF
}
{
sub("^\\.\\./common/", "", $NF)
print
}
# vim:se sts=4 sw=4 et ft=awk:
|