mirror of
https://github.com/zulip/zulip.git
synced 2026-07-09 21:21:47 +08:00
Previously, when the first `which` failed, the entire script would fail with exist status 1 because we pass `-e` to the interpreter. (imported from commit 601de3b3e3edd90110fc478f7874e644009d1b62)
10 lines
166 B
Bash
Executable File
10 lines
166 B
Bash
Executable File
#!/bin/bash -e
|
|
|
|
cd "$(dirname "$0")"/../zephyr/tests/frontend/node
|
|
|
|
NODEJS=$(which nodejs || which node)
|
|
|
|
$NODEJS message_tour.js
|
|
$NODEJS unread.js
|
|
$NODEJS search.js
|