Skip to content

Commit

Permalink
Set default PY in cargo wrapper (pantsbuild#7195)
Browse files Browse the repository at this point in the history
It calls virtualenv so needs one set. Some scripts call it bare.
  • Loading branch information
illicitonion authored Feb 1, 2019
1 parent 619586e commit 884acc6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build-support/bin/native/cargo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ set -e

REPO_ROOT=$(cd $(dirname "${BASH_SOURCE[0]}") && cd ../../.. && pwd -P)

export PY=${PY:-python2.7}

# Exports:
# + CARGO_HOME: The CARGO_HOME of the Pants-controlled rust toolchain.
# Exposes:
Expand Down

0 comments on commit 884acc6

Please sign in to comment.