vcpkg deactivate does not unset environment variables #36025
Labels
category:vcpkg-ce
The issue is with vcpkg artifacts, which is something the vcpkg artifacts should already support
requires:tool-release
An issue that has been fixed in the microsoft/vcpkg-tool repo and is waiting for a release thereof
Describe the bug
In my registry I have this:
⋮
⋮
Environment
To Reproduce
Steps to reproduce the behavior:
vcpkg activate
echo $MYVAR
vcpkg deactivate
echo $MYVAR
Expected behavior
After deactivation
MYVAR
should no longer be set but it is.Notice that I only see this on WSL, not under Windows. (I have not tested non-WSL linux)
Failure logs
If I run
vcpkg deactivate --debug
I see this on WSL:but on Windows I see:
So for some reason it tries to unset env variables with the first letter only.
The text was updated successfully, but these errors were encountered: