From 735775962848a03a4834e5008dbf426749f91a67 Mon Sep 17 00:00:00 2001 From: Lusheng Date: Thu, 9 Mar 2017 15:40:48 +0000 Subject: fixing quotes Change-Id: I74b924ba88f6243b312fa02e5d8a30f0022a1fa9 Signed-off-by: Lusheng --- script-dmaapbc-docker-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script-dmaapbc-docker-build.sh b/script-dmaapbc-docker-build.sh index 858f5dc..1ea9dcd 100755 --- a/script-dmaapbc-docker-build.sh +++ b/script-dmaapbc-docker-build.sh @@ -26,10 +26,10 @@ fi IMAGE='openecomp/dcae_dmaapbc' VERSION=$(xpath -e '//project/version/text()' 'pom.xml') echo "$VERSION" +VERSION=$(echo $VERSION |sed 's/\"//') EXT=$(echo "$VERSION" | rev | cut -s -f1 -d'-' | rev) if [ -z "$EXT" ]; then VERSION="${VERSION}-STAGING" - echo "$VERSION" fi TIMESTAMP=$(date +%C%y%m%dT%H%M%S) echo $VERSION -- cgit 1.2.3-korg