-
Notifications
You must be signed in to change notification settings - Fork 20
Set VIRTUALENVWRAPPER_SCRIPT portably #117
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
Conversation
(Note: I don't know that this will make virtualenvwrapper WORK with the |
Some of the bash versions in the test matrix don't seem to like the new syntax. I see lots of errors like:
|
It also looks like even though we said we dropped zsh support there is still a test job for it. |
Oh, crap! Not surprised, that's a really dumb typo. It should be Maybe I had Fish on the brain. |
@dhellmann Fixed now, sorry about that. |
Zsh is still supported, I think? The It's Ksh that support was dropped for, and their crazy |
@dhellmann #118 will fix those readthedocs failures. |
Wow, yes, you're right. I completely conflated ksh and zsh in my head. |
@Mergifyio rebase |
- `${.sh.file}` was ksh syntax, but ksh support was dropped in commit d736549 - Instead of testing only for certain specific shells (and excluding all others), use `$BASH_SOURCE` if it's set, otherwise fall back to `$0` which should work with more shells (hopefully). Fixes python-virtualenvwrapper#105
✅ Branch has been successfully rebased |
${.sh.file}
was ksh syntax, but ksh support was dropped in commit d736549$BASH_SOURCE
if it's set, otherwise fall back to$0
which should work with more shells (hopefully).Fixes #105