summaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2025-01-05 11:32:54 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2025-01-05 11:33:40 +0900
commit45fc7b903d1aab0871f03cbe1c4fbec71b932d9f (patch)
treef7e9f3c5bb1e686f4b6eb049be8604e3b20a0a90 /install
parent4f2c2749421cfa1917168da68f2d15c49ce4e967 (diff)
downloadfzf-45fc7b903d1aab0871f03cbe1c4fbec71b932d9f.tar.gz
[install] Unset FZF_DEFAULT_OPTS when checking the binary
Diffstat (limited to 'install')
-rwxr-xr-xinstall2
1 files changed, 1 insertions, 1 deletions
diff --git a/install b/install
index b4d2a193..5f7d2cec 100755
--- a/install
+++ b/install
@@ -83,7 +83,7 @@ ask() {
check_binary() {
echo -n " - Checking fzf executable ... "
local output
- output=$("$fzf_base"/bin/fzf --version 2>&1)
+ output=$(FZF_DEFAULT_OPTS= "$fzf_base"/bin/fzf --version 2>&1)
if [ $? -ne 0 ]; then
echo "Error: $output"
binary_error="Invalid binary"