aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLusheng <lji@research.att.com>2017-03-09 15:17:44 +0000
committerLusheng <lji@research.att.com>2017-03-09 15:17:44 +0000
commit0e8761fdc60fdbd39dc9a7485449f52060ed08f0 (patch)
tree619dfee22d3d02c522ac4ba695fc6658ffa3231e
parent18fe25c1a3e4e7502ed120a5855fffc964b00c38 (diff)
fixing quotes
Change-Id: I58ca16a1c893c2cf23b5ef7a074d0c89763f32a0 Signed-off-by: Lusheng <lji@research.att.com>
-rwxr-xr-xscript-dmaapbc-docker-build.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/script-dmaapbc-docker-build.sh b/script-dmaapbc-docker-build.sh
index 903dd64..858f5dc 100755
--- a/script-dmaapbc-docker-build.sh
+++ b/script-dmaapbc-docker-build.sh
@@ -25,9 +25,11 @@ fi
IMAGE='openecomp/dcae_dmaapbc'
VERSION=$(xpath -e '//project/version/text()' 'pom.xml')
+echo "$VERSION"
EXT=$(echo "$VERSION" | rev | cut -s -f1 -d'-' | rev)
if [ -z "$EXT" ]; then
- VERSION=$(echo "${VERSION}-STAGING")
+ VERSION="${VERSION}-STAGING"
+ echo "$VERSION"
fi
TIMESTAMP=$(date +%C%y%m%dT%H%M%S)
echo $VERSION