9 lines
116 B
Bash
9 lines
116 B
Bash
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
if [ "${1#-}" != "${1}" ] || [ -z "$(command -v "${1}")" ]; then
|
|
set -- node "$@"
|
|
fi
|
|
|
|
exec "$@" |