Added correct path in UT which otherwise was failing
[ric-plt/rtmgr.git] / build-rtmgr-ubuntu.sh
index 7fdc25c..c822551 100755 (executable)
@@ -20,9 +20,9 @@ set -eux
 
 echo "--> rtmgr-build-ubuntu.sh"
 curdir=`pwd`
-RMRVERSION=3.6.2
-wget --content-disposition https://packagecloud.io/o-ran-sc/staging/packages/debian/stretch/rmr_${RMRVERSION}_amd64.deb/download.deb && sudo dpkg -i rmr_${RMRVERSION}_amd64.deb && rm -rf rmr_${RMRVERSION}_amd64.deb
-wget --content-disposition https://packagecloud.io/o-ran-sc/staging/packages/debian/stretch/rmr-dev_${RMRVERSION}_amd64.deb/download.deb && sudo dpkg -i rmr-dev_${RMRVERSION}_amd64.deb && rm -rf rmr-dev_${RMRVERSION}_amd64.deb
+RMRVERSION=4.1.2
+wget --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr_${RMRVERSION}_amd64.deb/download.deb && sudo dpkg -i rmr_${RMRVERSION}_amd64.deb && rm -rf rmr_${RMRVERSION}_amd64.deb
+wget --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr-dev_${RMRVERSION}_amd64.deb/download.deb && sudo dpkg -i rmr-dev_${RMRVERSION}_amd64.deb && rm -rf rmr-dev_${RMRVERSION}_amd64.deb
 
 # required to find nng and rmr libs
 export LD_LIBRARY_PATH=/usr/local/lib
@@ -48,7 +48,7 @@ git clone "https://gerrit.o-ran-sc.org/r/ric-plt/appmgr" \
   && cp appmgr/api/appmgr_rest_api.yaml api/ \
   && rm -rf appmgr
 
-cp -r ../rtmgr/* /tmp/go/src/routing-manager/. 
+cp -r $curdir/* /tmp/go/src/routing-manager/.
 
 cd /tmp/go/src/routing-manager