mirror of
https://github.com/nodejs/node.git
synced 2024-11-30 15:30:56 +01:00
9eb1b5cf33
PR-URL: https://github.com/nodejs/node/pull/43402 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
13 lines
282 B
Bash
Executable File
13 lines
282 B
Bash
Executable File
#!/bin/sh
|
|
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
|
|
case `uname` in
|
|
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
|
esac
|
|
|
|
if [ -x "$basedir/node" ]; then
|
|
exec "$basedir/node" "$basedir/../dist/yarnpkg.js" "$@"
|
|
else
|
|
exec node "$basedir/../dist/yarnpkg.js" "$@"
|
|
fi
|