Clean up debugging from copying paths issue.
This commit is contained in:
parent
6252737cc1
commit
aed892007f
|
@ -68,10 +68,8 @@ if [ -n "${NODEJS_VER}" ]; then
|
|||
mv ${NODEJS_UNTAR}/${NODEJS_NAME}-${NODEJS_VER}-linux-${ARCH}/* ${NODEJS_UNTAR}/
|
||||
rm -rf ${NODEJS_UNTAR}/${NODEJS_NAME}-${NODEJS_VER}-linux-${ARCH} # clean up the temporary unzip folder
|
||||
rm ${NODEJS_UNTAR}/{LICENSE,CHANGELOG.md,README.md}
|
||||
echo "$node_install_path"
|
||||
echo "${NODEJS_UNTAR}"
|
||||
$sudo_cmd rsync -av "${NODEJS_UNTAR}/" "$node_install_path/"
|
||||
echo "Done copying"
|
||||
rm -rf "${NODEJS_UNTAR}"
|
||||
|
||||
$sudo_cmd chown -R $(whoami) "$node_install_path/lib/node_modules/"
|
||||
$sudo_cmd chown $(whoami) ""$node_install_path"/bin/"
|
||||
|
|
Loading…
Reference in New Issue