mirror of
https://github.com/junegunn/fzf.git
synced 2026-10-04 19:28:58 +08:00
[install] Support old uname in macOS (#4492)
This commit is contained in:
1 parent
19a9296c47
commit
de1824f71d
1 file changed
+1
-1
@@ -164,7 +164,7 @@ download() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Try to download binary executable
|
# Try to download binary executable
|
||||||
archi=$(uname -smo)
|
archi=$(uname -smo 2>/dev/null || uname -sm)
|
||||||
binary_available=1
|
binary_available=1
|
||||||
binary_error=""
|
binary_error=""
|
||||||
case "$archi" in
|
case "$archi" in
|
||||||
|
|||||||
Reference in new issue
Block a user