skip -b <branch> option from installer
Change-Id: Iba37058a0995660742b7146af3bec69339911382
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
diff --git a/jenkins/common/install_common b/jenkins/common/install_common
index 3e99fa8..4a7c352 100755
--- a/jenkins/common/install_common
+++ b/jenkins/common/install_common
@@ -21,7 +21,7 @@
REPOSITORY="stable"
REPOSITORY_BASE="http://osm-download.etsi.org/repository/osm/debian"
-while getopts ":r:k:u:R:" o; do
+while getopts ":r:k:u:R:b:" o; do
case "${o}" in
r)
REPOSITORY=${OPTARG}
@@ -35,10 +35,14 @@
u)
REPOSITORY_BASE=${OPTARG}
;;
+ b)
+ ## ignore branch option
+ ;;
esac
done
key_location=$REPOSITORY_BASE/$RELEASE/$REPOSITORY_KEY
+echo $key_location
curl $key_location | apt-key add -