|
|
#!/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/ab/Code/nodejs/cobalt-hf/node_modules/.pnpm/tsup@8.3.0_postcss@8.4.47_typescript@5.5.4/node_modules/tsup/dist/node_modules:/Users/ab/Code/nodejs/cobalt-hf/node_modules/.pnpm/tsup@8.3.0_postcss@8.4.47_typescript@5.5.4/node_modules/tsup/node_modules:/Users/ab/Code/nodejs/cobalt-hf/node_modules/.pnpm/tsup@8.3.0_postcss@8.4.47_typescript@5.5.4/node_modules:/Users/ab/Code/nodejs/cobalt-hf/node_modules/.pnpm/node_modules" |
|
|
else |
|
|
export NODE_PATH="/Users/ab/Code/nodejs/cobalt-hf/node_modules/.pnpm/tsup@8.3.0_postcss@8.4.47_typescript@5.5.4/node_modules/tsup/dist/node_modules:/Users/ab/Code/nodejs/cobalt-hf/node_modules/.pnpm/tsup@8.3.0_postcss@8.4.47_typescript@5.5.4/node_modules/tsup/node_modules:/Users/ab/Code/nodejs/cobalt-hf/node_modules/.pnpm/tsup@8.3.0_postcss@8.4.47_typescript@5.5.4/node_modules:/Users/ab/Code/nodejs/cobalt-hf/node_modules/.pnpm/node_modules:$NODE_PATH" |
|
|
fi |
|
|
if [ -x "$basedir/node" ]; then |
|
|
exec "$basedir/node" "$basedir/../tsup/dist/cli-node.js" "$@" |
|
|
else |
|
|
exec node "$basedir/../tsup/dist/cli-node.js" "$@" |
|
|
fi |
|
|
|