ZeroTierOne
ZeroTierOne copied to clipboard
Fix bad variable name error during build on WSL
WSL appends Windows environment variables to PATH, which causes /bin/sh to report a bad variable name error:
export PATH=//home/user/.cargo/bin:$PATH; cd zeroidc && cargo build --release
/bin/sh: 1: export: Files/Git/cmd:/mnt/c/Program: bad variable name
make: *** [make-linux.mk:433: zeroidc] Error 2
This fix adds double quotes to avoid this problem. See also https://askubuntu.com/questions/1354999/bad-variable-name-error-on-wsl
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.