fate: apply TARGET_EXEC only to commands starting with absolute path

Originally committed as revision 24313 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Måns Rullgård 2010-07-18 20:19:25 +00:00
parent d2f33c8021
commit f0388cf716
1 changed files with 2 additions and 1 deletions

View File

@ -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" ;;