Mv vs cp RPMs to upload dir to avoid duplication
[releng/builder.git] / jjb / packaging / include-raw-build-rpm-snap.sh
index 16328f3ff376be09757957e8ca4f5694e742e28e..9626346631a3fe7777d7d49a3eac2262075f1774 100644 (file)
@@ -10,8 +10,9 @@ set -ex -o pipefail
 virtualenv rpm_build
 # shellcheck disable=SC1091
 source rpm_build/bin/activate
-pip install --upgrade pip
-pip install -r "$WORKSPACE/packaging/rpm/requirements.txt"
+PYTHON="rpm_build/bin/python"
+$PYTHON -m pip install --upgrade pip
+$PYTHON -m pip install -r "$WORKSPACE/packaging/rpm/requirements.txt"
 
 # Build the latest snapshot matching the given major minor version
 "$WORKSPACE/packaging/rpm/build.py" --build-latest-snap \