[GRASS-SVN] r32681 - grass/branches/develbranch_6/tools

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Aug 11 07:16:11 EDT 2008


Author: neteler
Date: 2008-08-11 07:16:11 -0400 (Mon, 11 Aug 2008)
New Revision: 32681

Modified:
   grass/branches/develbranch_6/tools/grass_indent.sh
Log:
also fix broken gettext macros (merge from trunk, r32680)

Modified: grass/branches/develbranch_6/tools/grass_indent.sh
===================================================================
--- grass/branches/develbranch_6/tools/grass_indent.sh	2008-08-11 11:15:54 UTC (rev 32680)
+++ grass/branches/develbranch_6/tools/grass_indent.sh	2008-08-11 11:16:11 UTC (rev 32681)
@@ -9,4 +9,9 @@
  indent -bad -bap -bbb -br -bli0 -bls -cli0 -ncs -fc1 -hnl -i4 \
       -nbbo -nbc -nbfda -nbfde -ncdb -ncdw -nce -nfca -npcs -nprs \
       -npsl -nsc -nsob -saf -sai -saw -sbi0 -ss -ts8 -ut "$@"
+
+ # fix broken gettext macros:
+ ls "$@" | xargs grep -l '(_$' | \
+       while read file ; do sed -i -e '/(_$/{;N;s/\n[ \t]*//;}' $file ; done
+
 fi



More information about the grass-commit mailing list