mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-06 20:43:44 +02: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
1 changed files with 2 additions and 2 deletions
|
@ -429,8 +429,8 @@ debug: FORCE
|
||||||
ifeq ($(ZT_SSO_SUPPORTED), 1)
|
ifeq ($(ZT_SSO_SUPPORTED), 1)
|
||||||
ifeq ($(ZT_EMBEDDED),)
|
ifeq ($(ZT_EMBEDDED),)
|
||||||
zeroidc: FORCE
|
zeroidc: FORCE
|
||||||
# export PATH=/root/.cargo/bin:$$PATH; cd zeroidc && cargo build -j1 $(RUSTFLAGS)
|
# 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=/${HOME}/.cargo/bin:"$$PATH"; cd zeroidc && cargo build $(RUSTFLAGS)
|
||||||
endif
|
endif
|
||||||
else
|
else
|
||||||
zeroidc:
|
zeroidc:
|
||||||
|
|
Loading…
Add table
Reference in a new issue