no output for pushd

This commit is contained in:
AJ ONeal 2015-01-15 15:43:34 -07:00
parent e013693961
commit 0ff11fbf72
1 changed files with 2 additions and 1 deletions

View File

@ -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/