[njs] Configure: accept spaces in PATH.

noreply at nginx.com noreply at nginx.com
Wed Sep 11 20:26:02 UTC 2024


details:   https://github.com/nginx/njs/commit/287198152865605dbebff5e88cc6fb54dc725875
branches:  master
commit:    287198152865605dbebff5e88cc6fb54dc725875
user:      Vadim Zhestikov <v.zhestikov at f5.com>
date:      Thu, 5 Sep 2024 19:31:28 -0700
description:
Configure: accept spaces in PATH.


---
 auto/expect | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/auto/expect b/auto/expect
index ee12a518..a4a5419c 100644
--- a/auto/expect
+++ b/auto/expect
@@ -21,9 +21,9 @@ if [ $njs_found = yes -a $NJS_HAVE_READLINE = YES ]; then
     cat << END >> $NJS_MAKEFILE
 
 shell_test_njs:	njs test/shell_test.exp
-	PATH=$NJS_BUILD_DIR:\$(PATH) LANG=C.UTF-8 TERM=screen \
+	PATH="$NJS_BUILD_DIR:\$(PATH)" LANG=C.UTF-8 TERM=screen \
     expect -f test/shell_test.exp
-	PATH=$NJS_BUILD_DIR:\$(PATH) LANG=C.UTF-8 TERM=screen \
+	PATH="$NJS_BUILD_DIR:\$(PATH)" LANG=C.UTF-8 TERM=screen \
     expect -f test/shell_test_njs.exp
 END
 
@@ -33,7 +33,7 @@ if [ $NJS_HAVE_QUICKJS = YES ]; then
 shell_test:	shell_test_njs shell_test_quickjs
 
 shell_test_quickjs:	njs test/shell_test.exp
-	PATH=$NJS_BUILD_DIR:\$(PATH) LANG=C.UTF-8 TERM=screen NJS_ENGINE=QuickJS \
+	PATH="$NJS_BUILD_DIR:\$(PATH)" LANG=C.UTF-8 TERM=screen NJS_ENGINE=QuickJS \
     expect -f test/shell_test.exp
 END
 


More information about the nginx-devel mailing list