18 lines
1.0 KiB
Plaintext
Raw Normal View History

2025-04-26 23:21:07 -07:00
#!/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="/home/justin/justin_deal/node_modules/.pnpm/jiti@2.4.2/node_modules/jiti/lib/node_modules:/home/justin/justin_deal/node_modules/.pnpm/jiti@2.4.2/node_modules/jiti/node_modules:/home/justin/justin_deal/node_modules/.pnpm/jiti@2.4.2/node_modules:/home/justin/justin_deal/node_modules/.pnpm/node_modules"
else
export NODE_PATH="/home/justin/justin_deal/node_modules/.pnpm/jiti@2.4.2/node_modules/jiti/lib/node_modules:/home/justin/justin_deal/node_modules/.pnpm/jiti@2.4.2/node_modules/jiti/node_modules:/home/justin/justin_deal/node_modules/.pnpm/jiti@2.4.2/node_modules:/home/justin/justin_deal/node_modules/.pnpm/node_modules:$NODE_PATH"
fi
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../.pnpm/jiti@2.4.2/node_modules/jiti/lib/jiti-cli.mjs" "$@"
else
exec node "$basedir/../.pnpm/jiti@2.4.2/node_modules/jiti/lib/jiti-cli.mjs" "$@"
fi