forked from FFmpeg/FFmpeg
configure: fix filter() function when matching multiple patterns
This makes comma-separated patters to --disable-decoder and friends work correctly with POSIX-compliant shells. Originally committed as revision 19688 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
bce7b696a2
commit
98ef60791d
1 changed files with 1 additions and 1 deletions
2
configure
vendored
2
configure
vendored
|
@ -295,7 +295,7 @@ filter(){
|
|||
pat=$1
|
||||
shift
|
||||
for v; do
|
||||
case "$v" in $pat) echo "$v" ;; esac
|
||||
eval "case $v in $pat) echo $v ;; esac"
|
||||
done
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue