[GRASS-SVN] r40747 - grass/branches/develbranch_6/scripts/v.colors
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Jan 30 19:05:02 EST 2010
Author: hamish
Date: 2010-01-30 19:05:01 -0500 (Sat, 30 Jan 2010)
New Revision: 40747
Modified:
grass/branches/develbranch_6/scripts/v.colors/v.colors
Log:
quote pathnames
Modified: grass/branches/develbranch_6/scripts/v.colors/v.colors
===================================================================
--- grass/branches/develbranch_6/scripts/v.colors/v.colors 2010-01-30 23:37:00 UTC (rev 40746)
+++ grass/branches/develbranch_6/scripts/v.colors/v.colors 2010-01-31 00:05:01 UTC (rev 40747)
@@ -167,8 +167,8 @@
if [ -n "$GIS_OPT_COLOR" ] ; then
#### check the color rule is valid
- COLOR_OPTS=`ls $GISBASE/etc/colors/`
- COLOR_OPTS="`echo $COLOR_OPTS | tr '\n' ' '` random grey.eq grey.log rules"
+ COLOR_OPTS=`ls "$GISBASE/etc/colors/"`
+ COLOR_OPTS="`echo "$COLOR_OPTS" | tr '\n' ' '` random grey.eq grey.log rules"
HAVE_COLR=0
for COLR in $COLOR_OPTS ; do
More information about the grass-commit
mailing list