#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")

case `uname` in
    *CYGWIN*|*MINGW*|*MSYS*)
        if command -v cygpath > /dev/null 2>&1; then
            basedir=`cygpath -w "$basedir"`
        fi
    ;;
esac

if [ -z "$NODE_PATH" ]; then
  export NODE_PATH="/Users/qhoxie/code/langstruct/docs/node_modules/.pnpm/astro@5.12.8_@types+node@24.2.0_rollup@4.46.2_typescript@5.9.2_yaml@2.8.1/node_modules/astro/node_modules:/Users/qhoxie/code/langstruct/docs/node_modules/.pnpm/astro@5.12.8_@types+node@24.2.0_rollup@4.46.2_typescript@5.9.2_yaml@2.8.1/node_modules:/Users/qhoxie/code/langstruct/docs/node_modules/.pnpm/node_modules"
else
  export NODE_PATH="/Users/qhoxie/code/langstruct/docs/node_modules/.pnpm/astro@5.12.8_@types+node@24.2.0_rollup@4.46.2_typescript@5.9.2_yaml@2.8.1/node_modules/astro/node_modules:/Users/qhoxie/code/langstruct/docs/node_modules/.pnpm/astro@5.12.8_@types+node@24.2.0_rollup@4.46.2_typescript@5.9.2_yaml@2.8.1/node_modules:/Users/qhoxie/code/langstruct/docs/node_modules/.pnpm/node_modules:$NODE_PATH"
fi
if [ -x "$basedir/node" ]; then
  exec "$basedir/node"  "$basedir/../../astro.js" "$@"
else
  exec node  "$basedir/../../astro.js" "$@"
fi
