diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2020-10-28 15:56:05 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2020-10-28 15:56:05 +0900 |
| commit | 254e9765fe4285681802f5fe15f575bcf7e1815c (patch) | |
| tree | 322904d6f9585264984493690e600f9207467dd5 | |
| parent | 3304f284a565bc77d8a1009d8e1770e651b95c5c (diff) | |
| download | fzf-254e9765fe4285681802f5fe15f575bcf7e1815c.tar.gz | |
[install] Pass version number to go get command
Related: https://github.com/junegunn/fzf.vim/issues/1150#issuecomment-717735149
| -rwxr-xr-x | install | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -197,7 +197,7 @@ if [ -n "$binary_error" ]; then export GOPATH="${TMPDIR:-/tmp}/fzf-gopath" mkdir -p "$GOPATH" fi - if go get -u github.com/junegunn/fzf; then + if go get -ldflags "-s -w -X main.version=$version -X main.revision=go-get" github.com/junegunn/fzf; then echo "OK" cp "$GOPATH/bin/fzf" "$fzf_base/bin/" else |
