[GRASS-SVN] r58440 - grass/branches/releasebranch_6_4/raster/r.li/r.li.setup

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Dec 11 05:01:26 PST 2013


Author: neteler
Date: 2013-12-11 05:01:26 -0800 (Wed, 11 Dec 2013)
New Revision: 58440

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

Modified: grass/branches/releasebranch_6_4/raster/r.li/r.li.setup/masked_area_selection
===================================================================
--- grass/branches/releasebranch_6_4/raster/r.li/r.li.setup/masked_area_selection	2013-12-10 22:25:27 UTC (rev 58439)
+++ grass/branches/releasebranch_6_4/raster/r.li/r.li.setup/masked_area_selection	2013-12-11 13:01:26 UTC (rev 58440)
@@ -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/releasebranch_6_4/raster/r.li/r.li.setup/sample_area_vector.sh
===================================================================
--- grass/branches/releasebranch_6_4/raster/r.li/r.li.setup/sample_area_vector.sh	2013-12-10 22:25:27 UTC (rev 58439)
+++ grass/branches/releasebranch_6_4/raster/r.li/r.li.setup/sample_area_vector.sh	2013-12-11 13:01:26 UTC (rev 58440)
@@ -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/releasebranch_6_4/raster/r.li/r.li.setup/square_mouse_selection.sh
===================================================================
--- grass/branches/releasebranch_6_4/raster/r.li/r.li.setup/square_mouse_selection.sh	2013-12-10 22:25:27 UTC (rev 58439)
+++ grass/branches/releasebranch_6_4/raster/r.li/r.li.setup/square_mouse_selection.sh	2013-12-11 13:01:26 UTC (rev 58440)
@@ -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