Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

init-pants: Support new get-pants.sh that installs in ~/.local/bin instead of ~/bin #26

Merged
merged 2 commits into from
Nov 9, 2023

Conversation

cognifloyd
Copy link
Member

The newest version of get-pants.sh uses ~/.local/bin: pantsbuild/setup#144

This PR has backwards-compatible support for older in-repo copies of the script that still use ~/bin, but it defaults to the newer ~/.local/bin.

Updates to use new version of get-pants.sh from
pantsbuild/setup#144
Repos probably have an older copy of `get-pants.sh` that
use `~/bin` instead of `~/.local/bin`.

Also, move adding PATH back to the bottom of the run: block
to highlight that it is only for subsequent actions.
@cognifloyd cognifloyd added the enhancement New feature or request label Nov 8, 2023
@cognifloyd cognifloyd self-assigned this Nov 8, 2023
@cognifloyd cognifloyd requested review from kaos and benjyw November 8, 2023 00:35
@cognifloyd cognifloyd merged commit 709f758 into main Nov 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants