Fixed deploy-artifacts to strip carriage returns from pom.properties
files before attempting to extract variables from them.
Switched to using 'sed' instead of dos2unix.
Issue-ID: POLICY-2823
Change-Id: I1114af13a3262e49b87fb270d5c78cda4de9e5c9
Signed-off-by: Jim Hahn <jrh3@att.com>
if [[ -n ${pomProperties} ]]; then
jar xf "${jar}" "${pomProperties}"
WORKING_POM_PROPERTIES=$(realpath ${pomProperties})
+ sed -i 's/\r$//' "${WORKING_POM_PROPERTIES}"
source "${WORKING_POM_PROPERTIES}"
echo "${artifact}: sourcing in ${WORKING_POM_PROPERTIES}"
else