]> git.kaiwu.me - njs.git/commitdiff
Configure: accept spaces in PATH.
authorVadim Zhestikov <v.zhestikov@f5.com>
Fri, 6 Sep 2024 02:31:28 +0000 (19:31 -0700)
committerDmitry Volyntsev <xeioexception@gmail.com>
Wed, 11 Sep 2024 20:25:03 +0000 (13:25 -0700)
auto/expect

index ee12a518a594a45d3c64226d942b8cdb6acde7cb..a4a5419cccef027e6d57ae19449c66edffd69011 100644 (file)
@@ -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