From 1a41b29bfb48c3d056b4596e38d6032010615b4b Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Mon, 15 May 2017 22:23:36 -0600 Subject: [PATCH] Update setup-node-mavericks.bash --- setup-node-mavericks.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup-node-mavericks.bash b/setup-node-mavericks.bash index 60397ce..f1083e6 100644 --- a/setup-node-mavericks.bash +++ b/setup-node-mavericks.bash @@ -45,7 +45,7 @@ if [ -n "${NODEJS_VER}" ]; then # When using .tar.gz 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} sudo rsync -a "${NODEJS_UNTAR}/" "$node_install_path/"