mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-24 07:06:39 +00:00
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. This fix adds double quotes to avoid this problem. See also https://askubuntu.com/questions/1354999/bad-variable-name-error-on-wsl
This commit is contained in:
parent
5a36b315a3
commit
fb687a4cd3
@ -429,8 +429,8 @@ debug: FORCE
|
||||
ifeq ($(ZT_SSO_SUPPORTED), 1)
|
||||
ifeq ($(ZT_EMBEDDED),)
|
||||
zeroidc: FORCE
|
||||
# export PATH=/root/.cargo/bin:$$PATH; cd zeroidc && cargo build -j1 $(RUSTFLAGS)
|
||||
export PATH=/${HOME}/.cargo/bin:$$PATH; cd zeroidc && cargo build $(RUSTFLAGS)
|
||||
# export PATH=/root/.cargo/bin:"$$PATH"; cd zeroidc && cargo build -j1 $(RUSTFLAGS)
|
||||
export PATH=/${HOME}/.cargo/bin:"$$PATH"; cd zeroidc && cargo build $(RUSTFLAGS)
|
||||
endif
|
||||
else
|
||||
zeroidc:
|
||||
|
Loading…
Reference in New Issue
Block a user