diff --git a/Tools/src/create_rpm.sh b/Tools/src/create_rpm.sh index 4d1f85d41a..5d2deb735c 100755 --- a/Tools/src/create_rpm.sh +++ b/Tools/src/create_rpm.sh @@ -6,10 +6,9 @@ set -e SPEC_FILE="${PREPKGPATH}/amazon-cloudwatch-agent.spec" BUILD_ROOT="${BUILD_SPACE}/private/linux_${ARCH}/rpm-build" -AGENT_VERSION_WITHOUT_SED=$(cat ${BUILD_SPACE}/bin/CWAGENT_VERSION) AGENT_VERSION=$(cat ${PREPKGPATH}/CWAGENT_VERSION | sed -e "s/-/+/g") -echo "BUILD_SPACE: ${BUILD_SPACE} agent: ${AGENT_VERSION_WITHOUT_SED} agent_version: ${AGENT_VERSION} pre-package location:${PREPKGPATH}" +echo "BUILD_SPACE: ${BUILD_SPACE} agent_version: ${AGENT_VERSION} pre-package location:${PREPKGPATH}" echo "Creating rpm-build workspace"