Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! Support pyenv on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
nre-ableton committed Jul 7, 2022
1 parent d02aa19 commit bd05e01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/com/ableton/VirtualEnv.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class VirtualEnv implements Serializable {
}

boolean isUnix = script.isUnix() // Cache for later usage
String safePyenvRoot = isUnix ? pyenvRoot : posixPath(pyenvRoot)
String safePyenvRoot = posixPath(pyenvRoot)
List activateCommands = ["export PATH=${safePyenvRoot}/bin:\$PATH"]
if (!script.env.PYENV_ROOT) {
// Only export PYENV_ROOT if it isn't part of the Jenkins environment
Expand Down

0 comments on commit bd05e01

Please sign in to comment.