[GRASS-SVN] r53210 - grass-addons/grass6/raster/r.connectivity.network
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Sep 18 11:27:09 PDT 2012
Author: sbl
Date: 2012-09-18 11:27:09 -0700 (Tue, 18 Sep 2012)
New Revision: 53210
Modified:
grass-addons/grass6/raster/r.connectivity.network/r.connectivity.network
Log:
Bug when running r.connectivity.network for second time fixed
Modified: grass-addons/grass6/raster/r.connectivity.network/r.connectivity.network
===================================================================
--- grass-addons/grass6/raster/r.connectivity.network/r.connectivity.network 2012-09-18 16:29:17 UTC (rev 53209)
+++ grass-addons/grass6/raster/r.connectivity.network/r.connectivity.network 2012-09-18 18:27:09 UTC (rev 53210)
@@ -222,7 +222,9 @@
fi
#Read variables from log-file
-. ${FOLDER}/r_connectivity.log
+cat ${FOLDER}/r_connectivity.log | head -n 10 > ${FOLDER}/r_connectivity.log.tmp
+. ${FOLDER}/r_connectivity.log.tmp
+rm ${FOLDER}/r_connectivity.log.tmp
#Parse and assign remaining variable (Output)
KERNEL_PLOT="${GIS_OPT_KERNEL_PLOT}"
More information about the grass-commit
mailing list