mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
Tools: build_ci: disable pip root user warning on CI
Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
This commit is contained in:
parent
7980fabeeb
commit
95a273e18a
@ -7,6 +7,10 @@ XOLDPWD=$PWD # profile changes directory :-(
|
||||
|
||||
. ~/.profile
|
||||
|
||||
if [ "$CI" = "true" ]; then
|
||||
export PIP_ROOT_USER_ACTION=ignore
|
||||
fi
|
||||
|
||||
cd $XOLDPWD
|
||||
|
||||
set -ex
|
||||
|
Loading…
Reference in New Issue
Block a user