mirror of https://github.com/mpv-player/mpv
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:
parent
f2a5f5d727
commit
7b5bcad11f
|
@ -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)"
|
||||
|
|
Loading…
Reference in New Issue