Update setup-node-mavericks.bash
This commit is contained in:
parent
6d1df2e7e4
commit
1a41b29bfb
|
@ -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/"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue