Merge "Trim trailing slash from REPOSITORY_BASE before add-apt-repository"
authormarchettim <mmarchetti@sandvine.com>
Wed, 22 Nov 2017 01:43:54 +0000 (02:43 +0100)
committerGerrit Code Review <root@osm.etsi.org>
Wed, 22 Nov 2017 01:43:54 +0000 (02:43 +0100)
jenkins/common/install_common

index b769014..bae5b9a 100755 (executable)
@@ -48,4 +48,5 @@ echo $key_location
 
 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"