zulip/tools/node

12 lines
211 B
Plaintext
Raw Normal View History

#!/bin/bash -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