Samuel Shuert | 274a4d6 | 2023-12-01 15:04:55 -0500 | [diff] [blame^] | 1 | #!/bin/sh |
| 2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") |
| 3 | |
| 4 | case `uname` in |
| 5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;; |
| 6 | esac |
| 7 | |
| 8 | if [ -z "$NODE_PATH" ]; then |
| 9 | export NODE_PATH="/home/coded/Documents/programming/AoC/2023/node_modules/.pnpm/ts-node@10.9.1_@types+node@20.10.1_typescript@5.3.2/node_modules/ts-node/dist/node_modules:/home/coded/Documents/programming/AoC/2023/node_modules/.pnpm/ts-node@10.9.1_@types+node@20.10.1_typescript@5.3.2/node_modules/ts-node/node_modules:/home/coded/Documents/programming/AoC/2023/node_modules/.pnpm/ts-node@10.9.1_@types+node@20.10.1_typescript@5.3.2/node_modules:/home/coded/Documents/programming/AoC/2023/node_modules/.pnpm/node_modules" |
| 10 | else |
| 11 | export NODE_PATH="/home/coded/Documents/programming/AoC/2023/node_modules/.pnpm/ts-node@10.9.1_@types+node@20.10.1_typescript@5.3.2/node_modules/ts-node/dist/node_modules:/home/coded/Documents/programming/AoC/2023/node_modules/.pnpm/ts-node@10.9.1_@types+node@20.10.1_typescript@5.3.2/node_modules/ts-node/node_modules:/home/coded/Documents/programming/AoC/2023/node_modules/.pnpm/ts-node@10.9.1_@types+node@20.10.1_typescript@5.3.2/node_modules:/home/coded/Documents/programming/AoC/2023/node_modules/.pnpm/node_modules:$NODE_PATH" |
| 12 | fi |
| 13 | if [ -x "$basedir/node" ]; then |
| 14 | exec "$basedir/node" "$basedir/../ts-node/dist/bin-transpile.js" "$@" |
| 15 | else |
| 16 | exec node "$basedir/../ts-node/dist/bin-transpile.js" "$@" |
| 17 | fi |