From 80b80bbfc6e2d8db71534165bf4478bc14918f66 Mon Sep 17 00:00:00 2001 From: Manuel Strebel Date: Thu, 17 Sep 2015 14:49:13 +0200 Subject: [PATCH] fix wget command --- setup-min.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup-min.sh b/setup-min.sh index 60fae7d..dc59f08 100644 --- a/setup-min.sh +++ b/setup-min.sh @@ -183,7 +183,7 @@ if [ -z "$NODEJS_VER" ]; then NODEJS_VER="$(curl -fsSL "$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)" \ + NODEJS_VER="$(wget --quiet "$NODEJS_BASE_URL/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."