Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid needing to triple escape paths in z-applocal tests. #869

Merged
merged 1 commit into from
Jan 28, 2023

Conversation

BillyONeal
Copy link
Member

In #864 (comment) I noted that these tests fail on my machine before making any changes; I'm not sure why, but when I try to run with cmd manually (outside of vcpkg env) I get the same "the filename, directory name, or volume label syntax is incorrect" error that vcpkg env gives.

This change just makes the batch files know the right path to use themselves rather than needing it passed in by the caller, so we don't need to deal with so many levels of confusing escaping.

In microsoft#864 (comment) I noted that these tests fail on my machine before making any changes; I'm not sure why, but when I try to run with cmd manually (outside of vcpkg env) I get the same "the filename, directory name, or volume label syntax is incorrect" error that vcpkg env gives.

This change just makes the batch files know the right path to use themselves rather than needing it passed in by the caller, so we don't need to deal with so many levels of confusing escaping.
@BillyONeal
Copy link
Member Author

To demonstrate that this escape confusion happens in cmd rather than in vcpkg env:
MicrosoftTeams-image

@BillyONeal BillyONeal merged commit bb803ff into microsoft:main Jan 28, 2023
@BillyONeal BillyONeal deleted the improve-env-syntax branch January 28, 2023 01:27
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.

2 participants