~ubuntu-branches/ubuntu/vivid/grass/vivid-proposed

« back to all changes in this revision

Viewing changes to mswindows/osgeo4w/grass.tmpl

  • Committer: Package Import Robot
  • Author(s): Bas Couwenberg
  • Date: 2015-02-20 23:12:08 UTC
  • mfrom: (8.2.6 experimental)
  • Revision ID: package-import@ubuntu.com-20150220231208-1u6qvqm84v430b10
Tags: 7.0.0-1~exp1
* New upstream release.
* Update python-ctypes-ternary.patch to use if/else instead of and/or.
* Drop check4dev patch, rely on upstream check.
* Add build dependency on libpq-dev to grass-dev for libpq-fe.h.
* Drop patches applied upstream, refresh remaining patches.
* Update symlinks for images switched from jpg to png.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/sh
2
2
 
 
3
#########################################################################
 
4
#
 
5
# GRASS initialization shell script (OSGeo4W)
 
6
#
 
7
#########################################################################
 
8
 
3
9
OSGEO4W_ROOT_MSYS="@OSGEO4W_ROOT_MSYS@"
4
10
GISBASE="$OSGEO4W_ROOT_MSYS/apps/grass/grass-@VERSION@"
5
11
GRASS_SH="$OSGEO4W_ROOT_MSYS/apps/msys/bin/sh.exe"
6
 
GRASS_WISH="$OSGEO4W_ROOT_MSYS/bin/wish.exe"
7
12
GRASS_PYTHON="$OSGEO4W_ROOT_MSYS/bin/python.exe"
8
13
PYTHONHOME="$OSGEO4W_ROOT_MSYS/apps/Python27"
9
14
GRASS_PROJSHARE="$OSGEO4W_ROOT_MSYS/share/proj"
10
15
PATH="$OSGEO4W_ROOT_MSYS/apps/grass/grass-@VERSION@/bin:$PATH"
11
16
 
12
 
export OSGEO4W_ROOT_MSYS GISBASE GRASS_SH GRASS_WISH GRASS_PYTHON PYTHONHOME GRASS_PROJSHARE
 
17
export OSGEO4W_ROOT_MSYS GISBASE GRASS_SH GRASS_PYTHON PYTHONHOME GRASS_PROJSHARE
13
18
export PATH
14
19
 
15
 
exec "$GISBASE/etc/Init.sh" "$@"
 
20
"$GRASS_PYTHON" "$GISBASE/etc/grass@POSTFIX@.py" "$@"
16
21
 
17
22
exit 0