forked from coolaj86/node-installer.sh
specify output dir with tar instead of using cd
This commit is contained in:
parent
6d2d7e7c20
commit
21f26603f6
|
@ -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/
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue