[GRASS-SVN] r48207 - in grass-addons: . raster/r.inund.fluv

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Sep 8 04:56:39 EDT 2011


Author: hamish
Date: 2011-09-08 01:56:39 -0700 (Thu, 08 Sep 2011)
New Revision: 48207

Modified:
   grass-addons/SUBMITTING_SCRIPTS
   grass-addons/raster/r.inund.fluv/r.inund.fluv
   grass-addons/raster/r.inund.fluv/r.inund.fluv_62
Log:
fix bashism

Modified: grass-addons/SUBMITTING_SCRIPTS
===================================================================
--- grass-addons/SUBMITTING_SCRIPTS	2011-09-08 08:47:12 UTC (rev 48206)
+++ grass-addons/SUBMITTING_SCRIPTS	2011-09-08 08:56:39 UTC (rev 48207)
@@ -135,7 +135,7 @@
 8.  Testing the existence of variables. For portability, use
 	if [ -z "$VARIABLE" ] ; then
     instead of
-	if [ "$VARIABLE" == "" ] ; then
+	if [ "$VARIABLE" = "" ] ; then
 
     and
 

Modified: grass-addons/raster/r.inund.fluv/r.inund.fluv
===================================================================
--- grass-addons/raster/r.inund.fluv/r.inund.fluv	2011-09-08 08:47:12 UTC (rev 48206)
+++ grass-addons/raster/r.inund.fluv/r.inund.fluv	2011-09-08 08:56:39 UTC (rev 48207)
@@ -494,7 +494,7 @@
 g.remove vect=inondazione_step1,inondazione_step2,reticolo --quiet
 g.remove vect=diff_inond1,reticolo_interno,inondazione1,overlap --quiet
 
-if [ "$inondazione"=="inondazione" ]
+if [ "$inondazione" = "inondazione" ]
 then
  g.message " "
 else

Modified: grass-addons/raster/r.inund.fluv/r.inund.fluv_62
===================================================================
--- grass-addons/raster/r.inund.fluv/r.inund.fluv_62	2011-09-08 08:47:12 UTC (rev 48206)
+++ grass-addons/raster/r.inund.fluv/r.inund.fluv_62	2011-09-08 08:56:39 UTC (rev 48207)
@@ -465,7 +465,7 @@
 g.remove vect=inondazione_step1,inondazione_step2,reticolo 
 g.remove vect=diff_inond1,reticolo_interno,inondazione1,overlap 
 
-if [ "$inondazione" == "inondazione" ]
+if [ "$inondazione" = "inondazione" ]
 then
  echo " "
 else



More information about the grass-commit mailing list