Skip to content

Overwrite deactivate script to unset only the last activated virtual environment (#12344) - #12353

Merged
memsharded merged 2 commits into
conan-io:developfrom
Bearwolves:bugfix/overwrite-deactivate-env-scripts
Oct 27, 2022
Merged

memsharded merged 2 commits into
conan-io:developfrom
Bearwolves:bugfix/overwrite-deactivate-env-scripts

Conversation

@Bearwolves

@Bearwolves Bearwolves commented Oct 20, 2022

Copy link
Copy Markdown
Contributor

Changelog: Fix: Overwrite deactivate script to unset only the last activated virtual environment.
Docs: omit

fixes #12344

  • Align with Windows behavior (save_bat())

No idea how to add a unit test to check that there is no duplication of the echo message.
I had a look at:

@CLAassistant

CLAassistant commented Oct 20, 2022

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@memsharded memsharded self-assigned this Oct 21, 2022
@memsharded memsharded added this to the 1.54 milestone Oct 21, 2022
@memsharded

Copy link
Copy Markdown
Member

Hi @Bearwolves

Thanks for your contribution. Don't worry too much about the tests, we can help adding some.
It would be necessary to sign the CLA, could you please have a look at it?

Bearwolves and others added 2 commits October 21, 2022 11:06
@memsharded
memsharded marked this pull request as ready for review October 27, 2022 12:03
@memsharded
memsharded merged commit 7c4aeab into conan-io:develop Oct 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[bug] The VirtualBuildEnv and VirtualRunEnv never clean the deactivate script

3 participants