1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-21 21:07:59 +01:00

Include config.json in XPI. Closes issue \#670.

This commit is contained in:
Kris Maglione
2011-10-01 13:02:26 -04:00
parent 2d7c78e162
commit 8ef35fee8b
5 changed files with 20 additions and 6 deletions

View File

@@ -4,7 +4,7 @@ BEGIN {
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)
@@ -13,6 +13,7 @@ content {
$NF = chrome $NF
}
{
gsub(/\/\.\//, "/")
sub("^\\.\\./common/", "", $NF)
print
}