From d133b58a9609d58a4d710d9dd46e8d104e64dad8 Mon Sep 17 00:00:00 2001 From: Yury Semikhatsky Date: Mon, 15 Aug 2022 12:24:52 -0700 Subject: [PATCH] fix(driver): PLAYWRIGHT_NODEJS_PATH test in sh (#16554) --- utils/build/run-driver-posix.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/build/run-driver-posix.sh b/utils/build/run-driver-posix.sh index 3898ea1421..d00a15ba42 100755 --- a/utils/build/run-driver-posix.sh +++ b/utils/build/run-driver-posix.sh @@ -1,6 +1,6 @@ #!/bin/sh SCRIPT_PATH="$(cd "$(dirname "$0")" ; pwd -P)" -if [[ -z "$PLAYWRIGHT_NODEJS_PATH" ]]; then +if [ -z "$PLAYWRIGHT_NODEJS_PATH" ]; then PLAYWRIGHT_NODEJS_PATH="$SCRIPT_PATH/node" fi "$PLAYWRIGHT_NODEJS_PATH" "$SCRIPT_PATH/package/lib/cli/cli.js" "$@"