[GRASS-SVN] r58441 - grass/branches/develbranch_6/raster/r.li/r.li.setup

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Dec 11 05:02:19 PST 2013


Author: neteler
Date: 2013-12-11 05:02:19 -0800 (Wed, 11 Dec 2013)
New Revision: 58441

Modified:
   grass/branches/develbranch_6/raster/r.li/r.li.setup/masked_area_selection.sh
   grass/branches/develbranch_6/raster/r.li/r.li.setup/sample_area_vector.sh
   grass/branches/develbranch_6/raster/r.li/r.li.setup/square_mouse_selection.sh
Log:
r.li.setup: enforce bash where needed; remove debug

Modified: grass/branches/develbranch_6/raster/r.li/r.li.setup/masked_area_selection.sh
===================================================================
--- grass/branches/develbranch_6/raster/r.li/r.li.setup/masked_area_selection.sh	2013-12-11 13:01:26 UTC (rev 58440)
+++ grass/branches/develbranch_6/raster/r.li/r.li.setup/masked_area_selection.sh	2013-12-11 13:02:19 UTC (rev 58441)
@@ -1,4 +1,4 @@
-#! /bin/sh -x
+#!/bin/sh
 #%Module 
 #%description: Select a circular or polygonal area
 #%End
@@ -66,7 +66,8 @@
 if test "$GISBASE" = ""; then
  echo "You must be in GRASS GIS to run this program." >&2
  exit 1
- fi
+fi
+
 if [ "$1" != "@ARGS_PARSED@" ] ; then
   exec g.parser "$0" "$@"
 fi

Modified: grass/branches/develbranch_6/raster/r.li/r.li.setup/sample_area_vector.sh
===================================================================
--- grass/branches/develbranch_6/raster/r.li/r.li.setup/sample_area_vector.sh	2013-12-11 13:01:26 UTC (rev 58440)
+++ grass/branches/develbranch_6/raster/r.li/r.li.setup/sample_area_vector.sh	2013-12-11 13:02:19 UTC (rev 58441)
@@ -1,4 +1,4 @@
-#!/bin/sh -x
+#!/bin/bash
 #
 # This program is free software under the GPL (>=v2)
 # Read the COPYING file that comes with GRASS for details.

Modified: grass/branches/develbranch_6/raster/r.li/r.li.setup/square_mouse_selection.sh
===================================================================
--- grass/branches/develbranch_6/raster/r.li/r.li.setup/square_mouse_selection.sh	2013-12-11 13:01:26 UTC (rev 58440)
+++ grass/branches/develbranch_6/raster/r.li/r.li.setup/square_mouse_selection.sh	2013-12-11 13:02:19 UTC (rev 58441)
@@ -67,7 +67,7 @@
 if test "$GISBASE" = ""; then
  echo "You must be in GRASS GIS to run this program." >&2
  exit 1
- fi
+fi
 if [ "$1" != "@ARGS_PARSED@" ] ; then
   exec g.parser "$0" "$@"
 fi



More information about the grass-commit mailing list