#!/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/workspace/authHub/oauth2_web/node_modules/.pnpm/typescript@4.5.5/node_modules/typescript/bin/node_modules:/home/workspace/authHub/oauth2_web/node_modules/.pnpm/typescript@4.5.5/node_modules/typescript/node_modules:/home/workspace/authHub/oauth2_web/node_modules/.pnpm/typescript@4.5.5/node_modules:/home/workspace/authHub/oauth2_web/node_modules/.pnpm/node_modules:/home/workspace/authHub/oauth2_web/node_modules:/home/workspace/authHub/node_modules:/home/workspace/node_modules:/home/node_modules:/node_modules:/home/workspace/authHub/oauth2_web/node_modules/.pnpm/@typescript-eslint+eslint-plugin@8.4.0_bfe14972b27a703dc8cc1342b6af73a1/node_modules/@typescript-eslint/eslint-plugin/node_modules:/home/workspace/authHub/oauth2_web/node_modules/.pnpm/@typescript-eslint+eslint-plugin@8.4.0_bfe14972b27a703dc8cc1342b6af73a1/node_modules/@typescript-eslint/node_modules:/home/workspace/authHub/oauth2_web/node_modules/.pnpm/@typescript-eslint+eslint-plugin@8.4.0_bfe14972b27a703dc8cc1342b6af73a1/node_modules"
else
  export NODE_PATH="$NODE_PATH:/home/workspace/authHub/oauth2_web/node_modules/.pnpm/typescript@4.5.5/node_modules/typescript/bin/node_modules:/home/workspace/authHub/oauth2_web/node_modules/.pnpm/typescript@4.5.5/node_modules/typescript/node_modules:/home/workspace/authHub/oauth2_web/node_modules/.pnpm/typescript@4.5.5/node_modules:/home/workspace/authHub/oauth2_web/node_modules/.pnpm/node_modules:/home/workspace/authHub/oauth2_web/node_modules:/home/workspace/authHub/node_modules:/home/workspace/node_modules:/home/node_modules:/node_modules:/home/workspace/authHub/oauth2_web/node_modules/.pnpm/@typescript-eslint+eslint-plugin@8.4.0_bfe14972b27a703dc8cc1342b6af73a1/node_modules/@typescript-eslint/eslint-plugin/node_modules:/home/workspace/authHub/oauth2_web/node_modules/.pnpm/@typescript-eslint+eslint-plugin@8.4.0_bfe14972b27a703dc8cc1342b6af73a1/node_modules/@typescript-eslint/node_modules:/home/workspace/authHub/oauth2_web/node_modules/.pnpm/@typescript-eslint+eslint-plugin@8.4.0_bfe14972b27a703dc8cc1342b6af73a1/node_modules"
fi
if [ -x "$basedir/node" ]; then
  exec "$basedir/node"  "$basedir/../../../../../../typescript@4.5.5/node_modules/typescript/bin/tsc" "$@"
else
  exec node  "$basedir/../../../../../../typescript@4.5.5/node_modules/typescript/bin/tsc" "$@"
fi
