no output for pushd
This commit is contained in:
parent
e013693961
commit
0ff11fbf72
|
@ -8,9 +8,10 @@ fi
|
||||||
|
|
||||||
if [ -n "${IOJS_VER}" ]; then
|
if [ -n "${IOJS_VER}" ]; then
|
||||||
echo "installing io.js as iojs ${IOJS_VER}..."
|
echo "installing io.js as iojs ${IOJS_VER}..."
|
||||||
|
|
||||||
curl -fsSL "http://iojs.org/dist/${IOJS_VER}/iojs-${IOJS_VER}-linux-${ARCH}.tar.gz" \
|
curl -fsSL "http://iojs.org/dist/${IOJS_VER}/iojs-${IOJS_VER}-linux-${ARCH}.tar.gz" \
|
||||||
-o "/tmp/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
|
tar xf /tmp/iojs-${IOJS_VER}-linux-${ARCH}.tar.gz
|
||||||
rm iojs-${IOJS_VER}-linux-x64/{LICENSE,CHANGELOG.md,README.md}
|
rm iojs-${IOJS_VER}-linux-x64/{LICENSE,CHANGELOG.md,README.md}
|
||||||
sudo rsync -a "/tmp/iojs-${IOJS_VER}-linux-${ARCH}/" /usr/local/
|
sudo rsync -a "/tmp/iojs-${IOJS_VER}-linux-${ARCH}/" /usr/local/
|
||||||
|
|
Loading…
Reference in New Issue