OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d88f7df
)
Fix regression.sh to work on OpenBSD which has md5 instead of md5sum
author
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Sat, 13 Dec 2008 09:10:55 +0000
(09:10 +0000)
committer
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Sat, 13 Dec 2008 09:10:55 +0000
(09:10 +0000)
but it is in the path (/bin), not /sbin.
Originally committed as revision 16088 to svn://svn.ffmpeg.org/ffmpeg/trunk
tests/regression.sh
patch
|
blob
|
history
diff --git
a/tests/regression.sh
b/tests/regression.sh
index
e89e55e
..
529a703
100755
(executable)
--- a/
tests/regression.sh
+++ b/
tests/regression.sh
@@
-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