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

Fix #3157 by changing CFG_BIN_DIR #3158

Closed
wants to merge 2 commits into from
Closed

Fix #3157 by changing CFG_BIN_DIR #3158

wants to merge 2 commits into from

Conversation

abhi-kr-2100
Copy link
Contributor

The older value of CFG_BIN_DIR was $CFG_ROOT_DIR/$VIRTUALENV_DIR/bin. However, as mentioned in #3157, the bin directory actually was in $CFG_ROOT_DIR/$VIRTUALENV_DIR/local/bin.

Fixes #3157

Tasks

  • Reviewed contribution guidelines
  • PR is descriptively titled 📑 and links the original issue above 🔗
  • Tests pass -- look for a green checkbox ✔️ a few minutes after opening your PR
    Run tests locally to check for errors.
  • Commits are in uniquely-named feature branch and has no merge conflicts 📁

Signed-off-by: Abhishek Kumar abhi.kr.2100@gmail.com

Earlier, it was $VIRTUALENV_DIR/bin.
This commit fixes Issue #3157.

Signed-off-by: Abhishek Kumar <abhi.kr.2100@gmail.com>
Issue #3157 affects only those who have a local installation of
pip. As such, changing `CFG_BIN_DIR` to `local/bin` will
break `configure` for everyone else. This commit ensures that
CFG_BIN_DIR uses the usual directory and falls back to
`local/bin` only when the usual directory doesn't exist BUT the
`local/bin` directory does exist.

Signed-off-by: Abhishek Kumar <abhi.kr.2100@gmail.com>
@pombredanne
Copy link
Member

Closing per #3157 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can't build from source; configure --dev fails
2 participants