File: env.sh

package info (click to toggle)
at-spi2-core 2.59.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 6,220 kB
  • sloc: ansic: 45,031; xml: 1,505; python: 384; sh: 239; makefile: 31; javascript: 13
file content (11 lines) | stat: -rw-r--r-- 488 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
# Activate the Python virtual environment for CI scripts.
#
# We test for the presence of the file, since when first creating the container images for CI,
# the venv has not been created yet.  This is mostly a hack to allow having a single "env.sh"
# script instead of one for container creation and one for CI jobs.
if [ -f /usr/local/python/bin/activate ]; then
    source /usr/local/python/bin/activate
fi

export RUSTUP_HOME='/usr/local/rustup'
export PATH=$PATH:/usr/local/cargo/bin