From e2122ea92a55034f4f8d0404ec75a89c429b13d0 Mon Sep 17 00:00:00 2001 From: Fede Tux Date: Wed, 10 Jan 2024 09:30:19 -0300 Subject: [PATCH] Use suffix variable instead of architecture --- scripts/assemble.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/assemble.sh b/scripts/assemble.sh index 175c966c655b9..67c8842f85226 100755 --- a/scripts/assemble.sh +++ b/scripts/assemble.sh @@ -336,7 +336,7 @@ function main() { echo "Assembling wazuh-indexer for $PLATFORM-$DISTRIBUTION-$ARCHITECTURE" - ARTIFACT_BUILD_NAME=$(ls "${OUTPUT}/dist/" | grep "wazuh-indexer-min_.*$ARCHITECTURE.*\.$EXT") + ARTIFACT_BUILD_NAME=$(ls "${OUTPUT}/dist/" | grep "wazuh-indexer-min_.*$SUFFIX.*\.$EXT") ARTIFACT_PACKAGE_NAME=${ARTIFACT_BUILD_NAME/min_/}