Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cupric
Fzf
Commits
24516bcf
Commit
24516bcf
authored
9 years ago
by
Junegunn Choi
Browse files
Options
Download
Email Patches
Plain Diff
[install] Set a temporary GOPATH
parent
b4c4a642
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
install
+5
-1
install
with
5 additions
and
1 deletion
+5
-1
install
+
5
-
1
View file @
24516bcf
...
...
@@ -231,9 +231,13 @@ if [ -n "$binary_error" ]; then
echo
"No prebuilt binary for
$archi
..."
if
command
-v
go
>
/dev/null
;
then
echo
-n
"Building binary (go get github.com/junegunn/fzf/src/fzf) ... "
if
[
-z
"
${
GOPATH
-
}
"
]
;
then
export
GOPATH
=
"
${
TMPDIR
:-
/tmp
}
/fzf-gopath"
mkdir
-p
"
$GOPATH
"
fi
if
go get github.com/junegunn/fzf/src/fzf
;
then
echo
"OK"
link_fzf_in_path
cp
"
$GOPATH
/bin/fzf"
"
$fzf_base
/bin/"
else
echo
"Failed to build binary ..."
install_ruby_fzf
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets