From 79476e8732b35c5cc4a483765984a80d9ac406ff Mon Sep 17 00:00:00 2001 From: Jason Yundt Date: Sun, 28 Mar 2021 11:43:29 -0400 Subject: [PATCH] Prevent error when $HOME contains spaces Fixes #39. --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index fee27d3..8f00354 100755 --- a/build.sh +++ b/build.sh @@ -409,7 +409,7 @@ if [ -f '/c/mozilla-build/start-shell.bat' ]; then export PATH=$TPATH:$PATH fi -if [ -f $HOME/.cargo/env ]; then +if [ -f "$HOME/.cargo/env" ]; then . $HOME/.cargo/env fi