]> git.donarmstrong.com Git - dactyl.git/blobdiff - common/process_manifest.awk
Imported Upstream version 1.1+hg7904
[dactyl.git] / common / process_manifest.awk
index 4abfceefa0c549488f3471a4ce8a77fc2307439a..3844834447908052febfaf9e2f78ef137c7cc942 100644 (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)