From ae331149f7db6e96f437323f667aa51565cc014d Mon Sep 17 00:00:00 2001 From: richdex14 Date: Mon, 4 Sep 2017 11:28:57 -0600 Subject: [PATCH] Debugging file copy issues on daplie board. --- setup-node-ubuntu.bash | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup-node-ubuntu.bash b/setup-node-ubuntu.bash index 33d47d3..f97e3ff 100644 --- a/setup-node-ubuntu.bash +++ b/setup-node-ubuntu.bash @@ -66,7 +66,8 @@ if [ -n "${NODEJS_VER}" ]; then rm ${NODEJS_UNTAR}/{LICENSE,CHANGELOG.md,README.md} echo "$node_install_path" echo "${NODEJS_UNTAR}" - sudo rsync -a "${NODEJS_UNTAR}/" "$node_install_path/" + sudo cp -rf "${NODEJS_UNTAR}/" "$node_install_path/" + sync sudo chown -R $(whoami) "$node_install_path/lib/node_modules/"