From f5f40aaed85b562bad51f3787bfc3be56e8724e6 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Wed, 22 Apr 2015 10:54:08 -0600 Subject: [PATCH] correct wget command --- setup-min.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup-min.sh b/setup-min.sh index ac86407..58976b9 100644 --- a/setup-min.sh +++ b/setup-min.sh @@ -166,7 +166,7 @@ if [ -z "$IOJS_VER" ]; then IOJS_VER="$(curl -fsSL https://iojs.org/dist/index.tab | head -2 | tail -1 | cut -f 1)" \ || echo 'error automatically determining current io.js version' elif [ -n "$(which wget)" ]; then - IOJS_VER="wget --quiet https://iojs.org/dist/index.tab | head -2 | tail -1 | cut -f 1)" \ + IOJS_VER="wget --quiet https://iojs.org/dist/index.tab -O - | head -2 | tail -1 | cut -f 1)" \ || echo 'error automatically determining current io.js version' else echo "Found neither 'curl' nor 'wget'. Can't Continue."