zulip/tools/node

13 lines
223 B
Plaintext
Raw Normal View History

#!/usr/bin/env bash
set -e
# Wrapper for node which finds the right binary.
if which nodejs >/dev/null 2>&1; then
# Name used by Debian etc.
exec nodejs "$@"
else
# Name used by upstream
exec node "$@"
fi