Commit 5840f04
committed
Set VIRTUALENVWRAPPER_SCRIPT portably
- `${.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 #1051 parent 26f7c0a commit 5840f04
1 file changed
+2
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
| 99 | + | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | 102 | | |
106 | | - | |
| 103 | + | |
107 | 104 | | |
108 | 105 | | |
109 | 106 | | |
| |||
0 commit comments