c6ce65d3d0
```sh git grep -l '^patch_args=-Np0' "srcpkgs/$1*/template" | while read template; do for p in ${template%/template}/patches/*; do sed -i ' \,^[+-][+-][+-] /dev/null,b /^[*-]\+ [0-9]\+\(,[0-9]\+\)\? [*-]\+$/b s,^[*][*][*] ,&a/, /^--- /{ s,\(^--- \)\(./\)*,\1a/, s,[.-][Oo][Rr][Ii][Gg]\([ /]\),\1, s/[.-][Oo][Rr][Ii][Gg]$// s/[.]patched[.]\([^.]\)/.\1/ h } /^+++ -/{ g s/^--- a/+++ b/ b } s,\(^+++ \)\(./\)*,\1b/, ' "$p" done sed -i '/^patch_args=/d' $template done ```
18 lines
610 B
Diff
18 lines
610 B
Diff
Source: John <johnz@posteo.net>
|
|
Upsteam: no
|
|
Reason: Our go-bindata seems to strip prefixed slash even when -prefix doesn't
|
|
end with one.
|
|
---
|
|
diff --git interfacer/src/browsh/firefox.go interfacer/src/browsh/firefox.go
|
|
index 00a9d72..2620522 100644
|
|
--- a/interfacer/src/browsh/firefox.go
|
|
+++ b/interfacer/src/browsh/firefox.go
|
|
@@ -227,7 +227,7 @@ func firefoxMarionette() {
|
|
// Install the Browsh extension that was bundled with `go-bindata` under
|
|
// `webextension.go`.
|
|
func installWebextension() {
|
|
- data, err := Asset("/browsh.xpi")
|
|
+ data, err := Asset("browsh.xpi")
|
|
if err != nil {
|
|
Shutdown(err)
|
|
}
|