Skip to content

Commit

Permalink
Fix Node selection when using built in node (#912)
Browse files Browse the repository at this point in the history
Fixed node selection to use the node executable instead of the user local node.  

Issue resolved:
#908

Signed-off-by: Sven R <admin@hackacad.net>
  • Loading branch information
hackacad authored Nov 5, 2021
1 parent cde8a78 commit bb6b925
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dev/build/tasks/bin/scripts/opensearch-dashboards
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ DIR="$(dirname "${SCRIPT}")/.."
CONFIG_DIR=${OSD_PATH_CONF:-"$DIR/config"}

if [ -x "${DIR}/node/bin/node" ]; then
NODE="/usr/local/bin/node"
NODE="${DIR}/node/bin/node"
else
NODE="$(which node)"
fi
Expand Down

0 comments on commit bb6b925

Please sign in to comment.