From 2fe6c465fe96e366d1f7956480f8b6e8eb35e845 Mon Sep 17 00:00:00 2001 From: Vadim Zhestikov Date: Thu, 5 Sep 2024 19:31:28 -0700 Subject: [PATCH] Configure: accept spaces in PATH. --- auto/expect | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/auto/expect b/auto/expect index ee12a518a..a4a5419cc 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