summaryrefslogtreecommitdiff
path: root/ffmpeg/tests/md5.sh
diff options
context:
space:
mode:
authorTim Redfern <tim@eclectronics.org>2014-02-17 13:36:38 +0000
committerTim Redfern <tim@eclectronics.org>2014-02-17 13:36:38 +0000
commit22e28216336da876e1fd17f380ce42eaf1446769 (patch)
tree444dad3dc7e2656992d29f34f7bce31970c122a5 /ffmpeg/tests/md5.sh
parentae5e8541f6e06e64c28719467cdf366ac57aff31 (diff)
chasing indexing error
Diffstat (limited to 'ffmpeg/tests/md5.sh')
-rw-r--r--ffmpeg/tests/md5.sh13
1 files changed, 0 insertions, 13 deletions
diff --git a/ffmpeg/tests/md5.sh b/ffmpeg/tests/md5.sh
deleted file mode 100644
index 5e2528c..0000000
--- a/ffmpeg/tests/md5.sh
+++ /dev/null
@@ -1,13 +0,0 @@
-# try to find an md5 program
-
-if [ X"$(echo | md5sum -b 2> /dev/null)" != X ]; then
- do_md5sum() { md5sum -b $1; }
-elif [ X"$(echo | command md5 2> /dev/null)" != X ]; then
- do_md5sum() { command md5 $1 | sed 's#MD5 (\(.*\)) = \(.*\)#\2 *\1#'; }
-elif [ -x /sbin/md5 ]; then
- do_md5sum() { /sbin/md5 -r $1 | sed 's/\([0-9a-f]\) [ *]*/\1 */'; }
-elif openssl version >/dev/null 2>&1; then
- do_md5sum() { openssl md5 $1 | sed 's/MD5(\(.*\))= \(.*\)/\2 *\1/'; }
-else
- do_md5sum() { echo No md5sum program found; }
-fi