[GRASS-SVN] r32680 - grass/trunk/tools

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


Author: neteler
Date: 2008-08-11 07:15:54 -0400 (Mon, 11 Aug 2008)
New Revision: 32680

Modified:
   grass/trunk/tools/grass_indent.sh
Log:
also fix broken gettext macros

Modified: grass/trunk/tools/grass_indent.sh
===================================================================
--- grass/trunk/tools/grass_indent.sh	2008-08-11 10:16:18 UTC (rev 32679)
+++ grass/trunk/tools/grass_indent.sh	2008-08-11 11:15:54 UTC (rev 32680)
@@ -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