[GRASS-SVN] r51892 - in grass/trunk/temporal: . t.rast.gapfill t.register
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed May 30 08:54:44 PDT 2012
Author: huhabla
Date: 2012-05-30 08:54:44 -0700 (Wed, 30 May 2012)
New Revision: 51892
Modified:
grass/trunk/temporal/run_all_tests.sh
grass/trunk/temporal/t.rast.gapfill/test.t.rast.gapfill.sh
grass/trunk/temporal/t.register/t.register.py
Log:
Fixed bashism
Modified: grass/trunk/temporal/run_all_tests.sh
===================================================================
--- grass/trunk/temporal/run_all_tests.sh 2012-05-30 14:42:26 UTC (rev 51891)
+++ grass/trunk/temporal/run_all_tests.sh 2012-05-30 15:54:44 UTC (rev 51892)
@@ -12,13 +12,14 @@
# For each directory
for mydir in `ls -d t*` ; do
- if [ -d $mydir ] ; then
- echo $mydir
- cd $mydir
+ if [ -d "${mydir}" ] ; then
+ echo "${mydir}"
+ cd "${mydir}"
for myfile in `ls test.* | grep -v '~'` ; do
- sh $myfile >> $LOG_FILE 2>&1
+ echo "####### TEST ####### ${myfile}" >> "${LOG_FILE}" 2>&1
+ sh "${myfile}" >> "${LOG_FILE}" 2>&1
done
cd ..
fi
done
-mv $LOG_FILE .
+mv "${LOG_FILE}" .
Modified: grass/trunk/temporal/t.rast.gapfill/test.t.rast.gapfill.sh
===================================================================
--- grass/trunk/temporal/t.rast.gapfill/test.t.rast.gapfill.sh 2012-05-30 14:42:26 UTC (rev 51891)
+++ grass/trunk/temporal/t.rast.gapfill/test.t.rast.gapfill.sh 2012-05-30 15:54:44 UTC (rev 51892)
@@ -18,7 +18,7 @@
EOF
t.create --v --o type=strds temporaltype=absolute output=precip_abs title="A test" descr="A test"
-t.register --v type=rast input=precip_abs file=${n1}
+t.register --v type=rast input=precip_abs file="${n1}"
# @test
t.rast.gapfill input=precip_abs base="prec" nprocs=2
Modified: grass/trunk/temporal/t.register/t.register.py
===================================================================
--- grass/trunk/temporal/t.register/t.register.py 2012-05-30 14:42:26 UTC (rev 51891)
+++ grass/trunk/temporal/t.register/t.register.py 2012-05-30 15:54:44 UTC (rev 51892)
@@ -15,7 +15,7 @@
#############################################################################
#%module
-#% description: Registers raster, vector adn raster3d maps in a space time datasets.
+#% description: Registers raster, vector and raster3d maps in a space time datasets.
#% keywords: temporal
#% keywords: register
#%end
More information about the grass-commit
mailing list