#!/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="/builds/semoss/SemossWeb/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/bin/node_modules:/builds/semoss/SemossWeb/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/node_modules:/builds/semoss/SemossWeb/node_modules/.pnpm/typescript@4.7.4/node_modules:/builds/semoss/SemossWeb/node_modules/.pnpm/node_modules"
else
  export NODE_PATH="/builds/semoss/SemossWeb/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/bin/node_modules:/builds/semoss/SemossWeb/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/node_modules:/builds/semoss/SemossWeb/node_modules/.pnpm/typescript@4.7.4/node_modules:/builds/semoss/SemossWeb/node_modules/.pnpm/node_modules:$NODE_PATH"
fi
if [ -x "$basedir/node" ]; then
  exec "$basedir/node"  "$basedir/../../../node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/bin/tsc" "$@"
else
  exec node  "$basedir/../../../node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/bin/tsc" "$@"
fi
