Merge "Fix Meson error"
authorJessica Wagantall <jwagantall@linuxfoundation.org>
Mon, 18 Jul 2022 15:59:35 +0000 (15:59 +0000)
committerGerrit Code Review <gerrit@o-ran-sc.org>
Mon, 18 Jul 2022 15:59:35 +0000 (15:59 +0000)
jjb/shell/install-git-pistache.sh

index c8db9a8..0e37ec3 100644 (file)
@@ -24,19 +24,12 @@ echo "---> install-git-pistache.sh"
 set -eux
 echo "---> install Pistache dependencies..."
 
-if type -P python3 > /dev/null 2>&1
-then
-    echo "Python3 is installed"
-else
-    sudo apt-get install python3
-fi
+export PATH=$PATH:~/.local/bin
+export LIBRARY_PATH=/usr/lib/x86_64-linux-gnu
 
 sudo apt-get update && sudo apt-get -y install rapidjson-dev libssl-dev
 python3 -m pip install meson
 
-echo "---> install Pistache library.."
-
-LIBRARY_PATH=/usr/lib/x86_64-linux-gnu
 
 git clone https://github.com/pistacheio/pistache.git && cd pistache && meson setup build \
     --buildtype=release \