summaryrefslogtreecommitdiffstatshomepage
path: root/makefile
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2022-03-27 02:53:49 -0500
committerToby Vincent <tobyv13@gmail.com>2022-03-27 02:53:49 -0500
commitd86e0515a990ad5af221062f62592c23dc757dca (patch)
treec47d017428f6f2962965663fb32de1565cd8e6b3 /makefile
parentc4f616f4eb4e11fca12062ccd15d821af491e259 (diff)
fix: fix bug in fzf target
Diffstat (limited to 'makefile')
-rw-r--r--makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/makefile b/makefile
index f76c1ac..12f6fea 100644
--- a/makefile
+++ b/makefile
@@ -82,7 +82,7 @@ gh: # CLI for github API
gh completion --shell zsh >$(ZSH_COMP_DIR)/_gh
fzf: # Fuzzy finder, written in go
- TEMP=$(mktemp -d)
+ $(eval TEMP := $(shell mktemp -d))
$(eval TAG := $(shell curl -sI https://github.com/junegunn/fzf/releases/latest | grep -Po 'tag\/v?\K(\S+)'))
curl -sL https://github.com/junegunn/fzf/releases/latest/download/fzf-${TAG}-linux_$(ARCH).tar.gz | tar -C $(TEMP) -xz
test -x $(TEMP)/fzf