diff options
author | Lusheng <lji@research.att.com> | 2017-03-09 15:40:48 +0000 |
---|---|---|
committer | Lusheng <lji@research.att.com> | 2017-03-09 15:40:48 +0000 |
commit | 735775962848a03a4834e5008dbf426749f91a67 (patch) | |
tree | 9b00ded8e599973b2e1895222fd09b6707e5988f | |
parent | 0e8761fdc60fdbd39dc9a7485449f52060ed08f0 (diff) |
fixing quotes
Change-Id: I74b924ba88f6243b312fa02e5d8a30f0022a1fa9
Signed-off-by: Lusheng <lji@research.att.com>
-rwxr-xr-x | script-dmaapbc-docker-build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |