From 2c2bd074d1b56257e4a7f30ee0661e2a417e300f Mon Sep 17 00:00:00 2001 From: Kawika Avilla Date: Fri, 8 Apr 2022 19:34:13 +0000 Subject: [PATCH] [OSD] Fix default component script Origin: https://github.com/opensearch-project/opensearch-build/pull/1905 Incorrectly copied the path while fixing the build to use NVM. Issue: n/a Signed-off-by: Kawika Avilla --- scripts/default/opensearch-dashboards/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/default/opensearch-dashboards/build.sh b/scripts/default/opensearch-dashboards/build.sh index 035119f663..0d10f8c10e 100755 --- a/scripts/default/opensearch-dashboards/build.sh +++ b/scripts/default/opensearch-dashboards/build.sh @@ -74,7 +74,7 @@ cp -r ../$PLUGIN_NAME/ ../OpenSearch-Dashboards/plugins echo "BUILD MODULES FOR $PLUGIN_NAME" (cd ../OpenSearch-Dashboards && source $NVM_DIR/nvm.sh && nvm use && yarn osd bootstrap) echo "BUILD RELEASE ZIP FOR $PLUGIN_NAME" -(cd ../../OpenSearch-Dashboards && source $NVM_DIR/nvm.sh && nvm use && cd plugins/$PLUGIN_NAME && yarn plugin-helpers build --opensearch-dashboards-version=$VERSION$QUALIFIER_IDENTIFIER) +(cd ../OpenSearch-Dashboards && source $NVM_DIR/nvm.sh && nvm use && cd plugins/$PLUGIN_NAME && yarn plugin-helpers build --opensearch-dashboards-version=$VERSION$QUALIFIER_IDENTIFIER) echo "COPY $PLUGIN_NAME.zip" cp -r ../OpenSearch-Dashboards/plugins/$PLUGIN_NAME/build/$PLUGIN_NAME-$VERSION$QUALIFIER_IDENTIFIER.zip $OUTPUT/plugins/ rm -rf ../OpenSearch-Dashboards/plugins/$PLUGIN_NAME \ No newline at end of file