consul/vendor/github.com/keybase/go-crypto/openpgp/patch.sh

8 lines
247 B
Bash
Raw Normal View History

2018-06-21 14:49:35 +00:00
#!/bin/sh
patch < sig-v3.patch
patch < s2k-gnu-dummy.patch
find . -type f -name '*.go' -exec sed -i'' -e 's/golang.org\/x\/crypto\/openpgp/github.com\/keybase\/go-crypto\/openpgp/' {} \;
find . -type f -name '*.go-e' -exec rm {} \;
go test ./...