[GRASS-SVN] r30539 - grass/branches/releasebranch_6_3/lib/init

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Mar 12 21:26:35 EDT 2008


Author: hamish
Date: 2008-03-12 21:26:35 -0400 (Wed, 12 Mar 2008)
New Revision: 30539

Modified:
   grass/branches/releasebranch_6_3/lib/init/init.sh
Log:
for 6.3.0 release re-enable automatic creation of VAR file (bug #7)

Modified: grass/branches/releasebranch_6_3/lib/init/init.sh
===================================================================
--- grass/branches/releasebranch_6_3/lib/init/init.sh	2008-03-12 23:06:47 UTC (rev 30538)
+++ grass/branches/releasebranch_6_3/lib/init/init.sh	2008-03-13 01:26:35 UTC (rev 30539)
@@ -695,12 +695,11 @@
 fi
 
 # predefine DBF driver if DB connection not defined
-#  why is this needed ??
-# if [ ! -e "$LOCATION/VAR" ] ; then
-#   echo "DB_DRIVER: dbf" > "$LOCATION/VAR"
-#   echo "DB_DATABASE: \$GISDBASE/\$LOCATION_NAME/\$MAPSET/dbf/" >> "$LOCATION/VAR"
-#   mkdir "$LOCATION"/dbf
-# fi
+if [ ! -e "$LOCATION/VAR" ] ; then
+   echo "DB_DRIVER: dbf" > "$LOCATION/VAR"
+   echo "DB_DATABASE: \$GISDBASE/\$LOCATION_NAME/\$MAPSET/dbf/" >> "$LOCATION/VAR"
+   mkdir "$LOCATION"/dbf
+fi
 
 trap "" 2 3 15
 



More information about the grass-commit mailing list