update hvigorw.

Signed-off-by: gengzhengxing <gengzhengxing1@h-partners.com>
This commit is contained in:
gengzhengxing 2023-08-07 02:32:53 +00:00 committed by Gitee
parent 953cf9dfa1
commit 03a01bb63b
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -29,7 +29,7 @@ fail() {
# Determine node to start hvigor wrapper script
if [ -n "${NODE_HOME}" ];then
EXECUTABLE_NODE="${NODE_HOME}/bin/node"
EXECUTABLE_NODE="${NODE_HOME}/node"
if [ ! -x "$EXECUTABLE_NODE" ];then
fail "ERROR: NODE_HOME is set to an invalid directory,check $NODE_HOME\n\nPlease set NODE_HOME in your environment to the location where your nodejs installed"
fi