Skip to content

Commit

Permalink
Fix relative path
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexRuiz7 committed Aug 22, 2024
1 parent e415653 commit dd0560e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packaging_scripts/assemble.sh
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,9 @@ function install_plugins() {
if [ -z "${plugin_from_maven_local}" ]; then
echo "Plugin ${plugin_name} not found in local maven repository. Searching on ./${OUTPUT}/plugins"
pwd
ls -lR ./${OUTPUT}/plugins
plugin_path="./${OUTPUT}/plugins/${plugin_name}-${indexer_plugin_version}.zip"
ls -lR ../plugins
# Working directory at this point is: wazuh-indexer/artifacts/tmp/{rpm|deb|tar}
plugin_path="../plugins/${plugin_name}-${indexer_plugin_version}.zip"
fi

OPENSEARCH_PATH_CONF=$PATH_CONF "${PATH_BIN}/opensearch-plugin" install --batch --verbose "file:${plugin_path}"
Expand Down

0 comments on commit dd0560e

Please sign in to comment.