1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-02 21:24:10 +01:00

Fix initialization from XPI.

This commit is contained in:
Kris Maglione
2014-02-19 17:58:34 -08:00
parent 160e66430c
commit 382ada9abf
4 changed files with 34 additions and 2 deletions

View File

@@ -3,8 +3,12 @@ BEGIN {
if (suffix)
chrome = suffix
}
{ content = $1 ~ /^(content|skin|locale|resource)$/ }
content && $NF ~ /^[a-z]|^\.\// { $NF = "/" name "/" $NF }
content && $NF ~ /^([a-z]|\.\/)/ {
$NF = "/" name "/" $NF
}
content {
sub(/^\.\./, "", $NF);
if (isjar)