#!/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/speccon18/code/portfolio/node_modules/.pnpm/resolve@1.22.8/node_modules/resolve/bin/node_modules:/home/speccon18/code/portfolio/node_modules/.pnpm/resolve@1.22.8/node_modules/resolve/node_modules:/home/speccon18/code/portfolio/node_modules/.pnpm/resolve@1.22.8/node_modules:/home/speccon18/code/portfolio/node_modules/.pnpm/node_modules"
else
  export NODE_PATH="/home/speccon18/code/portfolio/node_modules/.pnpm/resolve@1.22.8/node_modules/resolve/bin/node_modules:/home/speccon18/code/portfolio/node_modules/.pnpm/resolve@1.22.8/node_modules/resolve/node_modules:/home/speccon18/code/portfolio/node_modules/.pnpm/resolve@1.22.8/node_modules:/home/speccon18/code/portfolio/node_modules/.pnpm/node_modules:$NODE_PATH"
fi
if [ -x "$basedir/node" ]; then
  exec "$basedir/node"  "$basedir/../../../../../resolve@1.22.8/node_modules/resolve/bin/resolve" "$@"
else
  exec node  "$basedir/../../../../../resolve@1.22.8/node_modules/resolve/bin/resolve" "$@"
fi
