Update setup-node-mavericks.bash

This commit is contained in:
AJ ONeal 2017-05-15 22:23:36 -06:00
parent 6d1df2e7e4
commit 1a41b29bfb
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ if [ -n "${NODEJS_VER}" ]; then
# When using .tar.gz # When using .tar.gz
mkdir -p ${NODEJS_UNTAR}/ mkdir -p ${NODEJS_UNTAR}/
sudo tar xf "${NODEJS_PKG}" -C "${NODEJS_UNTAR}/" tar xf "${NODEJS_PKG}" -C "${NODEJS_UNTAR}/" --strip-components=1
rm -f ${NODEJS_UNTAR}/{LICENSE,CHANGELOG.md,README.md} rm -f ${NODEJS_UNTAR}/{LICENSE,CHANGELOG.md,README.md}
sudo rsync -a "${NODEJS_UNTAR}/" "$node_install_path/" sudo rsync -a "${NODEJS_UNTAR}/" "$node_install_path/"