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.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12926 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2004-07-31 22:17:23 +00:00
parent f2a5f5d727
commit 7b5bcad11f
1 changed files with 2 additions and 2 deletions

4
configure vendored
View File

@ -2079,7 +2079,7 @@ for i in $_language ; do
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 @@ for i in $LANGUAGES ; do
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)"