[vcpkg/scripts] WSL2 minor issue in bootstrapping script #19822
Unanswered
workpadwan
asked this question in
Q&A
Replies: 2 comments 8 replies
-
Hm seems that I have introduced that with #19640. We can do that or change the shebang to |
Beta Was this translation helpful? Give feedback.
8 replies
-
It happen to me too. Please fix. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am trying to get vcpkg to work on WSL2 @ work and found some warnings/errors when running the script
./bootstrap-vcpkg.sh
The error I get repeats as follows:
So I checked the script and it is indeed the script
scripts/bootstrap.sh at row 168
The code looks like follows there:
However this will not work since the script is using shell (/bin/sh) and not bash.
One "fix" could be as follows but I bet someone who knows shell better than me can make it look prettier:
This will make the warnings/errors disappear when I run the script but I will leave this as a suggestion for someone else to decide....
Cheers,
Beta Was this translation helpful? Give feedback.
All reactions