1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 21:28:00 +01:00
Files
pentadactyl-pm/common/process_manifest.awk
2010-12-23 15:43:59 -05:00

15 lines
278 B
Awk

{ content = $1 ~ /^(content|skin|locale)$/ }
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
}