changeset 12925:2abd8e24eb69

10l to the author of this longstanding and obscure bug. Each language should be removed only once from the list. Thanks to Chris White for pointing out that there was a problem.
author diego
date Sat, 31 Jul 2004 22:17:23 +0000
parents 65f49a82ac94
children 6eb8d78e2d47
files configure
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Sat Jul 31 18:04:42 2004 +0000
+++ b/configure	Sat Jul 31 22:17:23 2004 +0000
@@ -2079,7 +2079,7 @@
     break
   else
     echo -n "$i not found, "
-    _language=`echo $_language | sed "s/$i *//g"`
+    _language=`echo $_language | sed "s/$i *//"`
   fi
 done
 test -z "$_language" && _language=en
@@ -2087,7 +2087,7 @@
   if test -f "DOCS/man/$i/mplayer.1" ; then
     LANGUAGES=`echo $LANGUAGES | sed "s/$i *//2" | sed 's/ *$//'`
   else
-    LANGUAGES=`echo $LANGUAGES | sed "s/$i *//g" | sed 's/ *$//'`
+    LANGUAGES=`echo $LANGUAGES | sed "s/$i *//" | sed 's/ *$//'`
   fi
 done
 echores "using $_language (man pages: $LANGUAGES)"