From: garciadeblas Date: Thu, 21 Sep 2017 13:19:48 +0000 (+0200) Subject: Trim trailing slash from REPOSITORY_BASE before add-apt-repository X-Git-Tag: v3.0.2~10^2 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=7ae1ff14ed5ad5c2177aab2518e5aad38e56b739;p=osm%2Fdevops.git Trim trailing slash from REPOSITORY_BASE before add-apt-repository Change-Id: Ic052f6d41d3d46c99ffcdc399febb875566b2672 Signed-off-by: garciadeblas --- diff --git a/jenkins/common/install_common b/jenkins/common/install_common index 2cee8628..c9a80ca0 100755 --- a/jenkins/common/install_common +++ b/jenkins/common/install_common @@ -45,4 +45,5 @@ key_location=$REPOSITORY_BASE/$RELEASE/$REPOSITORY_KEY curl $key_location | apt-key add - +REPOSITORY_BASE=${REPOSITORY_BASE%/} apt-get update && add-apt-repository -y "deb $REPOSITORY_BASE/$RELEASE $REPOSITORY SO UI RO IM osmclient openvim"