summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2015-01-13 12:29:12 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2015-01-13 12:29:12 +0900
commitb8c4b35415a096d245272556be5231f071404365 (patch)
tree97ffa5318ba13055b75f0b614fa80aacc2424c96 /install
parent209a6d36ad900468d54ce0c2d13fefed2c4c836e (diff)
`make archive` for homebrew release
Diffstat (limited to 'install')
-rwxr-xr-xinstall5
1 files changed, 3 insertions, 2 deletions
diff --git a/install b/install
index 4098c87b..c61cf889 100755
--- a/install
+++ b/install
@@ -21,8 +21,9 @@ check_binary() {
symlink() {
echo " - Creating symlink: bin/$1 -> bin/fzf"
- rm -f "$fzf_base"/bin/fzf
- ln -sf "$fzf_base"/bin/$1 "$fzf_base"/bin/fzf
+ (cd "$fzf_base"/bin &&
+ rm -f fzf
+ ln -sf $1 fzf)
}
download() {