python-virtualenvwrapper / virtualenvwrapper

Other
121 stars 17 forks source link

failing to source virtualenvwrapper on alpine linux (ash) #105

Open agowa opened 1 week ago

agowa commented 1 week ago

Hi, currently the virtualenvwrapper.sh script fails to be sourced on alpine linux.

This line of code https://github.com/python-virtualenvwrapper/virtualenvwrapper/blob/c0f51938edace098cec72240564fce3b1e40fbc5/virtualenvwrapper.sh#L106

currently causes -ash: /usr/bin/virtualenvwrapper.sh: line 109: syntax error: bad substitution when using the ash shell on alpine linux.

agowa commented 1 week ago

May be the same issue as with fish shell however I've not tried it there. Just guessing from the surrounding code.

100