[MPlayer-DOCS] CVS: main/help help_diff.sh,1.8,1.9

Torinthiel CVS syncmail at mplayerhq.hu
Tue Mar 1 11:44:48 CET 2005


CVS change done by Torinthiel CVS

Update of /cvsroot/mplayer/main/help
In directory mail:/var2/tmp/cvs-serv19214

Modified Files:
	help_diff.sh 
Log Message:
We should match end of token as well, to prevent MSGTR_FOO2 matching instead of
MSGTR_FOO. Helps compilation in case of some changes to help*.h files.


Index: help_diff.sh
===================================================================
RCS file: /cvsroot/mplayer/main/help/help_diff.sh,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- help_diff.sh	17 Aug 2003 20:17:03 -0000	1.8
+++ help_diff.sh	1 Mar 2005 10:44:45 -0000	1.9
@@ -11,7 +11,7 @@
 while read -r line; do
 	if echo "$line" | grep '^#define' > /dev/null 2>&1; then
 		curr=`echo "$line" | cut -d ' ' -f 2`
-		if grep "^#define $curr" $1 > /dev/null 2>&1; then
+		if grep "^#define $curr[	 ]" $1 > /dev/null 2>&1; then
 			curr=""
 		fi
 	else




More information about the MPlayer-DOCS mailing list