From 59d4aef7c266b37e6b1b10ddb35edef5f8040b93 Mon Sep 17 00:00:00 2001 From: Erik Hollensbe Date: Mon, 25 Apr 2022 15:52:39 -0700 Subject: [PATCH] Fix cargo home directory (was previously hard-coded to /root) Signed-off-by: Erik Hollensbe --- make-linux.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make-linux.mk b/make-linux.mk index 0e30561b7..74ed2bee1 100644 --- a/make-linux.mk +++ b/make-linux.mk @@ -393,7 +393,7 @@ ifeq ($(ZT_SSO_SUPPORTED), 1) ifeq ($(ZT_EMBEDDED),) zeroidc: FORCE # export PATH=/root/.cargo/bin:$$PATH; cd zeroidc && cargo build -j1 $(RUSTFLAGS) - export PATH=/root/.cargo/bin:$$PATH; cd zeroidc && cargo build $(RUSTFLAGS) + export PATH=/${HOME}/.cargo/bin:$$PATH; cd zeroidc && cargo build $(RUSTFLAGS) endif else zeroidc: