18 lines
1.1 KiB
Plaintext
18 lines
1.1 KiB
Plaintext
|
#!/bin/sh
|
||
|
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||
|
|
||
|
case `uname` in
|
||
|
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
||
|
esac
|
||
|
|
||
|
if [ -z "$NODE_PATH" ]; then
|
||
|
export NODE_PATH="/Users/taollin/Desktop/test/docker-time/node_modules/.pnpm/tsx@4.19.2/node_modules/tsx/dist/node_modules:/Users/taollin/Desktop/test/docker-time/node_modules/.pnpm/tsx@4.19.2/node_modules/tsx/node_modules:/Users/taollin/Desktop/test/docker-time/node_modules/.pnpm/tsx@4.19.2/node_modules:/Users/taollin/Desktop/test/docker-time/node_modules/.pnpm/node_modules"
|
||
|
else
|
||
|
export NODE_PATH="/Users/taollin/Desktop/test/docker-time/node_modules/.pnpm/tsx@4.19.2/node_modules/tsx/dist/node_modules:/Users/taollin/Desktop/test/docker-time/node_modules/.pnpm/tsx@4.19.2/node_modules/tsx/node_modules:/Users/taollin/Desktop/test/docker-time/node_modules/.pnpm/tsx@4.19.2/node_modules:/Users/taollin/Desktop/test/docker-time/node_modules/.pnpm/node_modules:$NODE_PATH"
|
||
|
fi
|
||
|
if [ -x "$basedir/node" ]; then
|
||
|
exec "$basedir/node" "$basedir/../tsx/dist/cli.mjs" "$@"
|
||
|
else
|
||
|
exec node "$basedir/../tsx/dist/cli.mjs" "$@"
|
||
|
fi
|