[install] Make sure to unset pipefail
This commit is contained in:
parent
64747c2324
commit
b864885753
1
install
1
install
@ -138,6 +138,7 @@ download() {
|
|||||||
local url=https://github.com/junegunn/fzf-bin/releases/download/$version/${1}.tgz
|
local url=https://github.com/junegunn/fzf-bin/releases/download/$version/${1}.tgz
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
if ! (try_curl $url || try_wget $url); then
|
if ! (try_curl $url || try_wget $url); then
|
||||||
|
set +o pipefail
|
||||||
binary_error="Failed to download with curl and wget"
|
binary_error="Failed to download with curl and wget"
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user