summaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
authorChayoung You <yousbe@gmail.com>2025-08-17 11:54:32 +0900
committerGitHub <noreply@github.com>2025-08-17 11:54:32 +0900
commitde1824f71d82896331a12cea4fe5781de5f8a315 (patch)
tree54cef1a63c2d21db639c6d4e9054ef222ecc8f5d /install
parent19a9296c47a5edab2b604abc948e666cb191c328 (diff)
downloadfzf-de1824f71d82896331a12cea4fe5781de5f8a315.tar.gz
[install] Support old uname in macOS (#4492)
Diffstat (limited to 'install')
-rwxr-xr-xinstall2
1 files changed, 1 insertions, 1 deletions
diff --git a/install b/install
index a66887c2..23db85bb 100755
--- a/install
+++ b/install
@@ -164,7 +164,7 @@ download() {
}
# Try to download binary executable
-archi=$(uname -smo)
+archi=$(uname -smo 2>/dev/null || uname -sm)
binary_available=1
binary_error=""
case "$archi" in