don't include * in quotes
This commit is contained in:
parent
45adb12ae1
commit
4ea01c4c42
|
@ -76,7 +76,7 @@ if [ -n "${NODEJS_VER}" ]; then
|
||||||
rsync -a "${NODEJS_UNTAR}/" "$node_install_path/" || $sudo_cmd rsync -a "${NODEJS_UNTAR}/" "$node_install_path/"
|
rsync -a "${NODEJS_UNTAR}/" "$node_install_path/" || $sudo_cmd rsync -a "${NODEJS_UNTAR}/" "$node_install_path/"
|
||||||
else
|
else
|
||||||
echo $sudo_cmd cp -a "${NODEJS_UNTAR}/*" "$node_install_path/"
|
echo $sudo_cmd cp -a "${NODEJS_UNTAR}/*" "$node_install_path/"
|
||||||
cp -a "${NODEJS_UNTAR}/*" "$node_install_path/" || $sudo_cmd cp -a "${NODEJS_UNTAR}/*" "$node_install_path/"
|
cp -a "${NODEJS_UNTAR}"/* "$node_install_path/" || $sudo_cmd cp -a "${NODEJS_UNTAR}"/* "$node_install_path/"
|
||||||
fi
|
fi
|
||||||
rm -rf "${NODEJS_UNTAR}"
|
rm -rf "${NODEJS_UNTAR}"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue