We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f690b90 commit 93e6052Copy full SHA for 93e6052
src/com/ableton/Pyenv.groovy
@@ -68,7 +68,11 @@ class Pyenv implements Serializable {
68
'eval "\$(pyenv init -)"',
69
]
70
} else {
71
- installCommands.add("export PATH=${pyenvRoot}/shims:${pyenvRoot}/bin:\$PATH")
+ String posixPyenvRoot = pyenvRoot[1] == ':' ?
72
+ "/${pyenvRoot[0].toLowerCase()}/${pyenvRoot.substring(3)}" : pyenvRoot
73
+ installCommands.add(
74
+ "export PATH=${posixPyenvRoot}/shims:${posixPyenvRoot}/bin:\$PATH"
75
+ )
76
}
77
installCommands += [
78
"pyenv install --skip-existing ${trimmedPythonVersion}",
0 commit comments