[SCM] libav/experimental: configure: fix filter() function when matching multiple patterns

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:50:20 UTC 2013


The following commit has been merged in the experimental branch:
commit 98ef60791d4264bf434d1aaf19c5c379547d6475
Author: Måns Rullgård <mans at mansr.com>
Date:   Sun Aug 23 15:39:39 2009 +0000

    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

diff --git a/configure b/configure
index 6d918c8..5c13369 100755
--- a/configure
+++ b/configure
@@ -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
 }
 

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list