[GRASS-SVN] r44468 - grass-addons/vector/v.rast.stats2

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Nov 28 16:22:53 EST 2010


Author: hamish
Date: 2010-11-28 13:22:53 -0800 (Sun, 28 Nov 2010)
New Revision: 44468

Modified:
   grass-addons/vector/v.rast.stats2/v.rast.stats2
Log:
set shebang to force bash

Modified: grass-addons/vector/v.rast.stats2/v.rast.stats2
===================================================================
--- grass-addons/vector/v.rast.stats2/v.rast.stats2	2010-11-28 19:28:25 UTC (rev 44467)
+++ grass-addons/vector/v.rast.stats2/v.rast.stats2	2010-11-28 21:22:53 UTC (rev 44468)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 ############################################################################
 #
@@ -347,7 +347,7 @@
 done
 
 # create array with new column names
-col="`cat $COLNAMETMP | tr '\n' ' '`"
+col=`cat "$COLNAMETMP" | tr '\n' ' '`
 
 # create SQL file for extended and normal statistics
 g.message -v "Creating SQL file ..."



More information about the grass-commit mailing list