open-consul/vendor/github.com/keybase/go-crypto/openpgp/patch.sh
2018-06-25 12:26:10 -07:00

8 lines
247 B
Bash

#!/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 ./...