#!/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="/home/user/Projects/invariantum-dogfood-target/node_modules/.pnpm/astro@7.0.7_@emnapi+core@1.11.1_@emnapi+runtime@1.11.1_@types+node@24.12.4_jiti@2.7.0_r_917ca4b5f05bb50b3b374659981337d6/node_modules/astro/node_modules:/home/user/Projects/invariantum-dogfood-target/node_modules/.pnpm/astro@7.0.7_@emnapi+core@1.11.1_@emnapi+runtime@1.11.1_@types+node@24.12.4_jiti@2.7.0_r_917ca4b5f05bb50b3b374659981337d6/node_modules:/home/user/Projects/invariantum-dogfood-target/node_modules/.pnpm/node_modules"
else
  export NODE_PATH="/home/user/Projects/invariantum-dogfood-target/node_modules/.pnpm/astro@7.0.7_@emnapi+core@1.11.1_@emnapi+runtime@1.11.1_@types+node@24.12.4_jiti@2.7.0_r_917ca4b5f05bb50b3b374659981337d6/node_modules/astro/node_modules:/home/user/Projects/invariantum-dogfood-target/node_modules/.pnpm/astro@7.0.7_@emnapi+core@1.11.1_@emnapi+runtime@1.11.1_@types+node@24.12.4_jiti@2.7.0_r_917ca4b5f05bb50b3b374659981337d6/node_modules:/home/user/Projects/invariantum-dogfood-target/node_modules/.pnpm/node_modules:$NODE_PATH"
fi
if [ -x "$basedir/node" ]; then
  exec "$basedir/node"  "$basedir/../astro/bin/astro.mjs" "$@"
else
  exec node  "$basedir/../astro/bin/astro.mjs" "$@"
fi
