Repository: aurora Updated Branches: refs/heads/master 9340d468f -> 2b48f2216
Update pants wrapper to match upstream Picking up this fix: https://github.com/pantsbuild/setup/commit/990b364cd196cdeee3ac9ec9bc4607df444bbb9f Makes pants work when a user's homedir is NFS mounted to multiple OSes. Reviewed at https://reviews.apache.org/r/43554/ Project: http://git-wip-us.apache.org/repos/asf/aurora/repo Commit: http://git-wip-us.apache.org/repos/asf/aurora/commit/2b48f221 Tree: http://git-wip-us.apache.org/repos/asf/aurora/tree/2b48f221 Diff: http://git-wip-us.apache.org/repos/asf/aurora/diff/2b48f221 Branch: refs/heads/master Commit: 2b48f22165c0e8a12ea67f19a7c63e5f73fb05a9 Parents: 9340d46 Author: Benjamin Staffin <[email protected]> Authored: Fri Feb 12 19:01:30 2016 -0700 Committer: John Sirois <[email protected]> Committed: Fri Feb 12 19:01:30 2016 -0700 ---------------------------------------------------------------------- pants | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/aurora/blob/2b48f221/pants ---------------------------------------------------------------------- diff --git a/pants b/pants index 0ce4114..a11588a 100755 --- a/pants +++ b/pants @@ -25,7 +25,7 @@ PYTHON=${PYTHON:-$(which python2.7)} PANTS_HOME="${PANTS_HOME:-${HOME}/.cache/pants/setup}" -PANTS_BOOTSTRAP="${PANTS_HOME}/bootstrap" +PANTS_BOOTSTRAP="${PANTS_HOME}/bootstrap-$(uname -s)-$(uname -m)" VENV_VERSION=13.1.0 @@ -53,7 +53,7 @@ function bootstrap_venv { ( mkdir -p "${PANTS_BOOTSTRAP}" && \ staging_dir=$(tempdir "${PANTS_BOOTSTRAP}") && \ - cd ${staging_dir} && \ + cd "${staging_dir}" && \ curl -O https://pypi.python.org/packages/source/v/virtualenv/${VENV_TARBALL} && \ tar -xzf ${VENV_TARBALL} && \ ln -s "${staging_dir}/${VENV_PACKAGE}" "${staging_dir}/latest" && \
