summaryrefslogtreecommitdiffstats
path: root/tca-cdap-container/get-tca.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tca-cdap-container/get-tca.sh')
-rwxr-xr-xtca-cdap-container/get-tca.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tca-cdap-container/get-tca.sh b/tca-cdap-container/get-tca.sh
index 9b46830..784d914 100755
--- a/tca-cdap-container/get-tca.sh
+++ b/tca-cdap-container/get-tca.sh
@@ -37,7 +37,7 @@ echo "Getting version $VERSION of $GROUPID.$ARTIFACTID from $REPO repo on $NEXUS
if [ "$REPO" == "snapshots" ]; then
# SNOTSHOT repo container many snapshots for each version. get the newest among them
URL="${PROTO}://${NEXUSREPO}/service/local/repositories/${REPO}/content/${GROUPID//.//}/${ARTIFACTID}/${VERSION}/maven-metadata.xml"
- VT=$(wget --no-check-certificate -O- $URL | grep -m 1 \<value\> | sed -e 's/<value>\(.*\)<\/value>/\1/' | sed -e 's/ //g')
+ VT=$(wget --no-check-certificate -O- "$URL" | grep -m 1 \<value\> | sed -e 's/<value>\(.*\)<\/value>/\1/' | sed -e 's/ //g')
else
VT=${VERSION}
fi