mirror of
https://github.com/junegunn/fzf.git
synced 2026-05-19 23:10:06 +08:00
[install] Support old uname in macOS (#4492)
This commit is contained in:
@@ -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