From b2f7a809cb86c2090b9121670b624024542b102e Mon Sep 17 00:00:00 2001 From: Kristoffer Minya <29523105+phenonymous@users.noreply.github.com> Date: Fri, 9 Nov 2018 14:51:07 +0100 Subject: [PATCH] Update gogh.sh --- gogh.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gogh.sh b/gogh.sh index cd65cd7..ac47c84 100755 --- a/gogh.sh +++ b/gogh.sh @@ -217,9 +217,10 @@ set_gogh() { else if [ "$(uname)" = "Darwin" ]; then # OSX ships with curl - bash -c eval "$(curl -Lo- "${url}")" + (eval "$(curl -sLo- "${url}")") else - bash <(wget -O- "${url}") + # Linux ships with wget + (eval "$(wget -qO- "${url}")") fi fi }