README: fix compile instructions for Go 1.13+

"go get -d" does not download to GOPATH/src anymore:
https://github.com/golang/go/issues/31529

Use explicit "git clone" to the current directory as suggested
in https://github.com/golang/go/issues/31529#issuecomment-484920157 .

Fixes https://github.com/rfjakob/gocryptfs/issues/553
This commit is contained in:
Jakob Unterwurzacher 2021-03-26 07:07:23 +01:00
parent d7d79aa81c
commit 7e18ee6b86

View File

@ -96,10 +96,10 @@ as well as in the go-fuse library.
Compile
-------
With [go 1.11 or higher](.travis.yml#L12):
With go 1.11 or higher:
$ go get -d github.com/rfjakob/gocryptfs
$ cd $(go env GOPATH)/src/github.com/rfjakob/gocryptfs
$ git clone https://github.com/rfjakob/gocryptfs.git
$ cd gocryptfs
$ ./build.bash
build.bash needs the OpenSSL headers installed (Debian: `apt install libssl-dev`,