From 0ff11fbf72d614ee2189b8ba08e46445fa7ad849 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Thu, 15 Jan 2015 15:43:34 -0700 Subject: [PATCH] no output for pushd --- setup-iojs-ubuntu.bash | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup-iojs-ubuntu.bash b/setup-iojs-ubuntu.bash index baa3f62..f8b7911 100644 --- a/setup-iojs-ubuntu.bash +++ b/setup-iojs-ubuntu.bash @@ -8,9 +8,10 @@ fi if [ -n "${IOJS_VER}" ]; then echo "installing io.js as iojs ${IOJS_VER}..." + curl -fsSL "http://iojs.org/dist/${IOJS_VER}/iojs-${IOJS_VER}-linux-${ARCH}.tar.gz" \ -o "/tmp/iojs-${IOJS_VER}-linux-${ARCH}.tar.gz" - pushd /tmp + pushd /tmp >/dev/null tar xf /tmp/iojs-${IOJS_VER}-linux-${ARCH}.tar.gz rm iojs-${IOJS_VER}-linux-x64/{LICENSE,CHANGELOG.md,README.md} sudo rsync -a "/tmp/iojs-${IOJS_VER}-linux-${ARCH}/" /usr/local/