diff --git a/src/dev/build/tasks/bin/scripts/opensearch-dashboards b/src/dev/build/tasks/bin/scripts/opensearch-dashboards index d354a9778d36..d81555a18c33 100755 --- a/src/dev/build/tasks/bin/scripts/opensearch-dashboards +++ b/src/dev/build/tasks/bin/scripts/opensearch-dashboards @@ -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