[FFmpeg-cvslog] r20086 - trunk/tests/codec-regression.sh
diego
subversion
Tue Sep 29 21:49:04 CEST 2009
Author: diego
Date: Tue Sep 29 21:49:04 2009
New Revision: 20086
Log:
Fix md5 program invocation for BSD.
patch by Michael Kostylev, michael.kostylev gmail com
Modified:
trunk/tests/codec-regression.sh
Modified: trunk/tests/codec-regression.sh
==============================================================================
--- trunk/tests/codec-regression.sh Tue Sep 29 21:18:51 2009 (r20085)
+++ trunk/tests/codec-regression.sh Tue Sep 29 21:49:04 2009 (r20086)
@@ -38,7 +38,7 @@ target_crcfile="$target_datadir/$this.cr
if [ X"`echo | md5sum 2> /dev/null`" != X ]; then
do_md5sum() { md5sum -b $1; }
elif [ X"`echo | md5 2> /dev/null`" != X ]; then
- do_md5sum() { md5 -r $1 | sed 's# \**\./# *./#'; }
+ do_md5sum() { md5 $1 | sed 's#MD5 (\(.*\)) = \(.*\)#\2 *\1#'; }
elif [ -x /sbin/md5 ]; then
do_md5sum() { /sbin/md5 -r $1 | sed 's# \**\./# *./#'; }
else
More information about the ffmpeg-cvslog
mailing list