From 3e0dbfed6632eb27dbe5a6fecb840c15591983d3 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Mon, 28 Mar 2016 17:19:18 -0400 Subject: [PATCH] omit false error message --- setup-min.sh | 2 +- setup.bash | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/setup-min.sh b/setup-min.sh index 2881406..6b599a9 100644 --- a/setup-min.sh +++ b/setup-min.sh @@ -188,7 +188,7 @@ fi if [ -z "$NODEJS_VER" ]; then if [ -n "$(which curl)" ]; then - NODEJS_VER=$(curl -fsSL "$NODEJS_BASE_URL/dist/index.tab" | head -2 | tail -1 | cut -f 1) \ + NODEJS_VER=$(curl -fsL "$NODEJS_BASE_URL/dist/index.tab" | head -2 | tail -1 | cut -f 1) \ || echo 'error automatically determining current io.js version' elif [ -n "$(which wget)" ]; then NODEJS_VER=$(wget --quiet "$NODEJS_BASE_URL/dist/index.tab" -O - | head -2 | tail -1 | cut -f 1) \ diff --git a/setup.bash b/setup.bash index f86e7d3..c82caa7 100644 --- a/setup.bash +++ b/setup.bash @@ -237,7 +237,7 @@ fi if [ -z "$NODEJS_VER" ]; then if [ -n "$(which curl)" ]; then - NODEJS_VER=$(curl -fsSL "$NODEJS_BASE_URL/dist/index.tab" | head -2 | tail -1 | cut -f 1) \ + NODEJS_VER=$(curl -fsL "$NODEJS_BASE_URL/dist/index.tab" | head -2 | tail -1 | cut -f 1) \ || echo "error automatically determining current ${NODEJS_NAME} version" elif [ -n "$(which wget)" ]; then NODEJS_VER=$(wget --quiet "$NODEJS_BASE_URL/dist/index.tab" -O - | head -2 | tail -1 | cut -f 1) \