#!/bin/sh

OSGEO4W_ROOT_MSYS="@OSGEO4W_ROOT_MSYS@"
GISBASE="$OSGEO4W_ROOT_MSYS/apps/grass/grass-6.4.3"
GRASS_SH="$OSGEO4W_ROOT_MSYS/apps/msys/bin/sh.exe"
GRASS_WISH="$OSGEO4W_ROOT_MSYS/bin/wish.exe"
GRASS_PYTHON="$OSGEO4W_ROOT_MSYS/bin/python.exe"
PYTHONHOME="$OSGEO4W_ROOT_MSYS/apps/Python27"
GRASS_PROJSHARE="$OSGEO4W_ROOT_MSYS/share/proj"
PATH="$OSGEO4W_ROOT_MSYS/apps/grass/grass-6.4.3/bin:$PATH"

export OSGEO4W_ROOT_MSYS GISBASE GRASS_SH GRASS_WISH GRASS_PYTHON PYTHONHOME GRASS_PROJSHARE
export PATH

exec "$GISBASE/etc/Init.sh" "$@"

exit 0
