Skip to content

Commit

Permalink
Packit: Set PATH for commands installed by pip install.
Browse files Browse the repository at this point in the history
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
...
```
  • Loading branch information
junaruga committed Aug 18, 2023
1 parent 5e4b308 commit a5d35e2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .packit/ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit a5d35e2

Please sign in to comment.