summaryrefslogtreecommitdiff
path: root/evergreen/packager.py_run.sh
blob: 748893ffa6c7b6979e235fc437eb7e1ef276b5bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" > /dev/null 2>&1 && pwd)"
. "$DIR/prelude.sh"

cd src

set -o errexit
set -o verbose

activate_venv
if [ "${has_packages}" = "true" ]; then
  cd buildscripts
  $python ${packager_script} --prefix $(pwd)/.. --distros ${packager_distro} --tarball $(pwd)/../mongodb-dist.tgz -s ${version} -m HEAD -a ${packager_arch}
  cd ..
fi