#!/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/leo/hApps/hREA/node_modules/.pnpm/tslint@5.16.0_typescript@4.5.5/node_modules/tslint/bin/node_modules:/home/leo/hApps/hREA/node_modules/.pnpm/tslint@5.16.0_typescript@4.5.5/node_modules/tslint/node_modules:/home/leo/hApps/hREA/node_modules/.pnpm/tslint@5.16.0_typescript@4.5.5/node_modules:/home/leo/hApps/hREA/node_modules/.pnpm/node_modules"
else
  export NODE_PATH="/home/leo/hApps/hREA/node_modules/.pnpm/tslint@5.16.0_typescript@4.5.5/node_modules/tslint/bin/node_modules:/home/leo/hApps/hREA/node_modules/.pnpm/tslint@5.16.0_typescript@4.5.5/node_modules/tslint/node_modules:/home/leo/hApps/hREA/node_modules/.pnpm/tslint@5.16.0_typescript@4.5.5/node_modules:/home/leo/hApps/hREA/node_modules/.pnpm/node_modules:$NODE_PATH"
fi
if [ -x "$basedir/node" ]; then
  exec "$basedir/node"  "$basedir/../tslint/bin/tslint" "$@"
else
  exec node  "$basedir/../tslint/bin/tslint" "$@"
fi
