repo.or.cz
/
openadk.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
systemd: update to 232
[openadk.git]
/
scripts
/
md5sum
blob
24e1e9fac698aa8dfff635fbe4e2637784ddd8b7
1
#!/usr/bin/env bash
2
# This file is part of the OpenADK project. OpenADK is copyrighted
3
# material, please see the LICENCE file in the top-level directory.
4
5
if
[
-x
/
usr
/
bin
/
md5sum
];
then
6
/
usr
/
bin
/
md5sum
"$@"
7
else
8
md5
"$@"
|
sed
's#MD5 (\([^)]*\)) = \(.*\)#\2 \1#'
9
fi