[GRASS-SVN] r30152 - grass/branches/releasebranch_6_2/scripts/g.manual

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Feb 14 11:06:20 EST 2008


Author: neteler
Date: 2008-02-14 11:06:19 -0500 (Thu, 14 Feb 2008)
New Revision: 30152

Modified:
   grass/branches/releasebranch_6_2/scripts/g.manual/g.manual
Log:
set CYGWIN_ROOT if not there

Modified: grass/branches/releasebranch_6_2/scripts/g.manual/g.manual
===================================================================
--- grass/branches/releasebranch_6_2/scripts/g.manual/g.manual	2008-02-14 15:47:08 UTC (rev 30151)
+++ grass/branches/releasebranch_6_2/scripts/g.manual/g.manual	2008-02-14 16:06:19 UTC (rev 30152)
@@ -47,6 +47,9 @@
     BROWSERNAME="default Macintosh web browser"
 #hack for Cygwin:
 elif [ "$OSTYPE" = "cygwin" ] ; then
+    if  [ -z "$CYGWIN_ROOT" ] ; then
+        CYGWIN_ROOT="\cygwin"
+    fi
     for i in C D E F G H I J K L M N O P Q R S T U V W X Y Z NOT_FOUND
     do
         j="$i:$CYGWIN_ROOT$GRASS_DOC_BASE"



More information about the grass-commit mailing list