[SCM] libav/experimental: fate: apply TARGET_EXEC only to commands starting with absolute path

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 17:11:41 UTC 2013


The following commit has been merged in the experimental branch:
commit f0388cf7168e0b56ce591ef7b48eb8e0ee459034
Author: Måns Rullgård <mans at mansr.com>
Date:   Sun Jul 18 20:19:25 2010 +0000

    fate: apply TARGET_EXEC only to commands starting with absolute path
    
    Originally committed as revision 24313 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/tests/fate-run.sh b/tests/fate-run.sh
index a4c50e2..541f87a 100755
--- a/tests/fate-run.sh
+++ b/tests/fate-run.sh
@@ -42,7 +42,8 @@ fi
 
 mkdir -p "$outdir"
 
-eval $target_exec $command > "$outfile" 2>/dev/null || exit
+case "$command" in /*) command="$target_exec $command" ;; esac
+eval $command > "$outfile" 2>/dev/null || exit
 
 case $cmp in
     diff)   diff -u -w "$ref" "$outfile"            ;;

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list