specify output dir with tar instead of using cd

This commit is contained in:
AJ ONeal 2015-01-20 23:24:02 -07:00
parent 6d2d7e7c20
commit 21f26603f6
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ if [ -n "${IOJS_VER}" ]; then
exit 1 exit 1
fi fi
tar xf ${IOJS_LOCAL} tar xf ${IOJS_LOCAL} -C /tmp/
rm ${IOJS_UNTAR}/{LICENSE,CHANGELOG.md,README.md} rm ${IOJS_UNTAR}/{LICENSE,CHANGELOG.md,README.md}
sudo rsync -a "${IOJS_UNTAR}/" /usr/local/ sudo rsync -a "${IOJS_UNTAR}/" /usr/local/