Skip to content

Commit

Permalink
Add ARCH when modifying revison
Browse files Browse the repository at this point in the history
  • Loading branch information
DFolchA committed Aug 2, 2023
1 parent 76e7763 commit 522f163
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion macos/generate_wazuh_packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ function get_pkgproj_specs() {
exit 1
else
echo "Modifiying ${pkg_file} to match revision."
sed -i -e "s:${VERSION}-.*<:${VERSION}-${REVISION}<:g" "${pkg_file}"
sed -i -e "s:${VERSION}-.*<:${VERSION}-${REVISION}.${ARCH}<:g" "${pkg_file}"
cp "${pkg_file}" "${AGENT_PKG_FILE}"
fi

Expand Down

0 comments on commit 522f163

Please sign in to comment.