|
@@ -1,15 +1,18 @@
|
|
|
#!/bin/sh
|
|
|
|
|
|
-export GISBASE=@OSGEO4W_ROOT_MSYS@/apps/grass/grass-@VERSION@
|
|
|
-export WINGISBASE=@OSGEO4W_ROOT_MSYS@/apps/grass/grass-@VERSION@
|
|
|
-export GRASS_SH=@OSGEO4W_ROOT_MSYS@/apps/msys/bin/sh.exe
|
|
|
-export GRASS_WISH=@OSGEO4W_ROOT_MSYS@/bin/wish.exe
|
|
|
-export GRASS_PYTHON=@OSGEO4W_ROOT_MSYS@/bin/python.exe
|
|
|
-export PYTHONHOME=@OSGEO4W_ROOT_MSYS@/apps/Python25
|
|
|
-export GRASS_PROJSHARE=@OSGEO4W_ROOT_MSYS@/share/proj
|
|
|
-export GRASS_GUI=wxpython
|
|
|
-export PATH=@OSGEO4W_ROOT_MSYS@/apps/grass/grass-@VERSION@/bin:$PATH
|
|
|
-
|
|
|
-$GRASS_PYTHON @OSGEO4W_ROOT_MSYS@/bin/grass@POSTFIX@.py
|
|
|
+OSGEO4W_ROOT_MSYS=@OSGEO4W_ROOT_MSYS@
|
|
|
+GISBASE=$OSGEO4W_ROOT_MSYS/apps/grass/grass-@VERSION@
|
|
|
+WINGISBASE=$OSGEO4W_ROOT_MSYS/apps/grass/grass-@VERSION@
|
|
|
+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/Python25
|
|
|
+GRASS_PROJSHARE=$OSGEO4W_ROOT_MSYS/share/proj
|
|
|
+PATH=$OSGEO4W_ROOT_MSYS/apps/grass/grass-@VERSION@/bin:$PATH
|
|
|
+
|
|
|
+export $OSGEO4W_ROOT_MSYS $GISBASE $WINGISBASE $GRASS_SH $GRASS_WISH $GRASS_PYTHON $PYTHONHOME $GRASS_PROJSHARE
|
|
|
+export $PATH
|
|
|
+
|
|
|
+$GRASS_PYTHON "$OSGEO4W_ROOT_MSYS/bin/grass@POSTFIX@.py" "$@"
|
|
|
|
|
|
exit 0
|