Fix Meson error 19/8619/2
authoranhnghcl <anh_ng@hcl.com>
Thu, 23 Jun 2022 11:20:48 +0000 (11:20 +0000)
committeranhnghcl <anh_ng@hcl.com>
Mon, 18 Jul 2022 03:37:24 +0000 (03:37 +0000)
after install Meson, builder still cant find it

Signed-off-by: anhnghcl <anh_ng@hcl.com>
Change-Id: I020e371cc44b7d34b72b999fba534039f9e4c3de

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 \