Debugging copying issues

This commit is contained in:
richdex14 2017-09-04 11:35:52 -06:00
parent ae331149f7
commit 28c1ad8484
1 changed files with 2 additions and 3 deletions

View File

@ -66,9 +66,8 @@ if [ -n "${NODEJS_VER}" ]; then
rm ${NODEJS_UNTAR}/{LICENSE,CHANGELOG.md,README.md}
echo "$node_install_path"
echo "${NODEJS_UNTAR}"
sudo cp -rf "${NODEJS_UNTAR}/" "$node_install_path/"
sync
sudo rsync -a "${NODEJS_UNTAR}/" "$node_install_path/"
echo "Done copying"
sudo chown -R $(whoami) "$node_install_path/lib/node_modules/"
sudo chown $(whoami) ""$node_install_path"/bin/"