From 4d55fc25bcfddc0e2f0c744448557a070dd310c9 Mon Sep 17 00:00:00 2001 From: Jun Aruga Date: Fri, 18 Aug 2023 14:46:56 +0200 Subject: [PATCH] Packit: Set PATH for commands installed by `pip install`. This fixes the following issue. ``` + pip3 install meson==0.55.0 ... Installing collected packages: meson WARNING: The script meson is installed in '/builddir/.local/bin' which is not on PATH. ... + meson setup build/gcc /builddir/build/SOURCES/ci.sh: line 15: meson: command not found ... ``` --- .packit/ci.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.packit/ci.sh b/.packit/ci.sh index 49e4f0406..eddcbde5f 100755 --- a/.packit/ci.sh +++ b/.packit/ci.sh @@ -86,6 +86,9 @@ function _run_test_and_get_result { cat /proc/cpuinfo cat /proc/meminfo +# Set PATH for commands installed by `pip install`. +PATH="${PATH}:${HOME}/.local/bin" + # Install additional packages. pip3 install meson==0.55.0