From 0e8761fdc60fdbd39dc9a7485449f52060ed08f0 Mon Sep 17 00:00:00 2001 From: Lusheng Date: Thu, 9 Mar 2017 15:17:44 +0000 Subject: fixing quotes Change-Id: I58ca16a1c893c2cf23b5ef7a074d0c89763f32a0 Signed-off-by: Lusheng --- script-dmaapbc-docker-build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit 1.2.3-korg