Skip to content
Myr

[install] go get -u github.com/junegunn/fzf/src/fzf

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Junegunn Choi · committed by Junegunn Choi · parent faccc0a · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:install+2 added-2 removed
228 unmodified lines
229if [ -n "$binary_error" ]; then230 if [ $binary_available -eq 0 ]; then231 echo "No prebuilt binary for $archi ..."232 if command -v go > /dev/null; then233 echo -n "Building binary (go get github.com/junegunn/fzf/src/fzf) ... "233 echo -n "Building binary (go get -u github.com/junegunn/fzf/src/fzf) ... "234 if [ -z "${GOPATH-}" ]; then235 export GOPATH="${TMPDIR:-/tmp}/fzf-gopath"236 mkdir -p "$GOPATH"237 fi238 if go get github.com/junegunn/fzf/src/fzf; then238 if go get -u github.com/junegunn/fzf/src/fzf; then239 echo "OK"240 cp "$GOPATH/bin/fzf" "$fzf_base/bin/"241 else242 echo "Failed to build binary ..."
155 unmodified lines