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" "$@"