Files
zulip/tools/node
2016-01-21 22:33:55 -08:00

13 lines
223 B
Bash
Executable File

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