forked from coolaj86/node-installer.sh
print install path
This commit is contained in:
parent
b33f1136f2
commit
6a73356dd9
|
@ -245,6 +245,7 @@ if [ -z "${NODE_PATH-}" ]; then
|
||||||
else
|
else
|
||||||
node_install_path=$(dirname $(dirname $NODE_PATH))
|
node_install_path=$(dirname $(dirname $NODE_PATH))
|
||||||
fi
|
fi
|
||||||
|
echo "Install path is $node_install_path"
|
||||||
if [ -e "$node_install_path/bin/node" ]; then
|
if [ -e "$node_install_path/bin/node" ]; then
|
||||||
# node of some version is already installed
|
# node of some version is already installed
|
||||||
if [ "${NODEJS_VER}" == "$(node -v 2>/dev/null)" ]; then
|
if [ "${NODEJS_VER}" == "$(node -v 2>/dev/null)" ]; then
|
||||||
|
|
Loading…
Reference in New Issue