From 5acb1e4b9948d1ac6fc9b1e42d8544fa4d08a9f1 Mon Sep 17 00:00:00 2001 From: tierno Date: Wed, 23 Aug 2017 16:27:10 +0200 Subject: [PATCH] bug 333: install stable version of lib_osm_openvim Change-Id: I2b15ef402c5dc8c9d93170088e0f7ff2d63dcb4e Signed-off-by: tierno --- scripts/install-openmano.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/install-openmano.sh b/scripts/install-openmano.sh index 624dce35..ac28f0d7 100755 --- a/scripts/install-openmano.sh +++ b/scripts/install-openmano.sh @@ -283,7 +283,8 @@ echo -e "\n"\ "##### INSTALLING OVIM LIBRARY #####\n"\ "#################################################################" su $SUDO_USER -c "git -C ${BASEFOLDER} clone ${GIT_OVIM_URL} openvim" -[[ -z $DEVELOP ]] && su $SUDO_USER -c "git -C ${BASEFOLDER}/openvim checkout v2.0" +LATEST_STABLE_TAG=`git -C "${BASEFOLDER}/openvim" tag -l v[0-9].* | tail -n1` +[[ -z $DEVELOP ]] && su $SUDO_USER -c "git -C ${BASEFOLDER}/openvim checkout tags/${LATEST_STABLE_TAG}" # Install debian dependencies before setup.py [ "$_DISTRO" == "Ubuntu" ] && install_packages "libmysqlclient-dev" -- 2.25.1