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

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Jan 8 08:41:55 EST 2008


Author: neteler
Date: 2008-01-08 08:41:55 -0500 (Tue, 08 Jan 2008)
New Revision: 29612

Modified:
   grass/branches/releasebranch_6_3/lib/init/init.sh
Log:
predefine DBF driver to avoid v.* module breakage (merge from HEAD)

Modified: grass/branches/releasebranch_6_3/lib/init/init.sh
===================================================================
--- grass/branches/releasebranch_6_3/lib/init/init.sh	2008-01-08 13:40:40 UTC (rev 29611)
+++ grass/branches/releasebranch_6_3/lib/init/init.sh	2008-01-08 13:41:55 UTC (rev 29612)
@@ -494,11 +494,10 @@
 			mkdir -p "$LOCATION"
 			cp "$GISDBASE/$LOCATION_NAME/PERMANENT/WIND" "$LOCATION/WIND"
 			echo "Missing WIND file fixed"
-			# predefine DBF driver
-			#  why is this needed ??
-			#echo "DB_DRIVER: dbf" > "$LOCATION/VAR"
-			#echo "DB_DATABASE: \$GISDBASE/\$LOCATION_NAME/\$MAPSET/dbf/" >> "$LOCATION/VAR"
-			#mkdir "$LOCATION"/dbf
+			# predefine DBF driver to avoid v.* module breakage
+			echo "DB_DRIVER: dbf" > "$LOCATION/VAR"
+			echo "DB_DATABASE: \$GISDBASE/\$LOCATION_NAME/\$MAPSET/dbf/" >> "$LOCATION/VAR"
+			mkdir "$LOCATION"/dbf
 		   fi
 		fi
     	fi



More information about the grass-commit mailing list