[GRASS-SVN] r29554 - grass/trunk/lib/init
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Jan 3 05:29:26 EST 2008
Author: neteler
Date: 2008-01-03 05:29:26 -0500 (Thu, 03 Jan 2008)
New Revision: 29554
Modified:
grass/trunk/lib/init/init.sh
Log:
generate VAR file if LOCATION is created via cmd line startup
Modified: grass/trunk/lib/init/init.sh
===================================================================
--- grass/trunk/lib/init/init.sh 2008-01-03 05:36:55 UTC (rev 29553)
+++ grass/trunk/lib/init/init.sh 2008-01-03 10:29:26 UTC (rev 29554)
@@ -501,11 +501,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