Append to PATH instead of perpend.

This commit is contained in:
Roman Telezhynskyi 2023-09-15 09:44:17 +03:00
parent 2c0035bb2f
commit 6a86463fde

View File

@ -693,7 +693,7 @@ for:
python3 ./scripts/treestate.py scan /usr/local usrlocal.json python3 ./scripts/treestate.py scan /usr/local usrlocal.json
brew update brew update
brew install coreutils ccache git openssl@1.1 pkg-config qbs brew install coreutils ccache git openssl@1.1 pkg-config qbs curl
# The build environment is now ready for use. We can complete # The build environment is now ready for use. We can complete
# the rest of the process of creating the Homebrew archive # the rest of the process of creating the Homebrew archive
@ -717,13 +717,14 @@ for:
fi fi
- sudo python3 -m pip install --upgrade pip - sudo python3 -m pip install --upgrade pip
- pip3 install --user --upgrade pip dropbox conan==1.60 - pip3 install --user --upgrade pip dropbox conan==1.60
- export PATH="`python3 -m site --user-base`/bin:$PATH" - export PATH="$PATH:`python3 -m site --user-base`/bin"
- echo $PATH - echo $PATH
- python3 --version - python3 --version
- conan --version - conan --version
- clang --version - clang --version
- qmake --version - qmake --version
- which qmake - which qmake
- which qbs
- qbs --version - qbs --version
# Patch Qbs. Remove after Qbs 2.1.2+. # Patch Qbs. Remove after Qbs 2.1.2+.
- curl https://gist.githubusercontent.com/dismine/43a20f66f563232e54e02f2e85732e7a/raw/e80a0c827348da3e99310ba4a648c1860bb3a8a6/BundleModule.qbs --output $HOME/BundleModule.qbs --silent - curl https://gist.githubusercontent.com/dismine/43a20f66f563232e54e02f2e85732e7a/raw/e80a0c827348da3e99310ba4a648c1860bb3a8a6/BundleModule.qbs --output $HOME/BundleModule.qbs --silent