Commit 6b1b5b12 authored by reimar's avatar reimar

Fix regression.sh to work on OpenBSD which has md5 instead of md5sum

but it is in the path (/bin), not /sbin.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16088 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 364345ea
......@@ -37,6 +37,8 @@ target_crcfile="$target_datadir/$this.crc"
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# \**\./# *./#'; }
elif [ -x /sbin/md5 ]; then
do_md5sum() { /sbin/md5 -r $1 | sed 's# \**\./# *./#'; }
else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment