projects
/
monkeysphere.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb31db0
)
actually check for md5 in the path within file_hash()
author
Daniel Kahn Gillmor
<dkg@fifthhorseman.net>
Tue, 7 Apr 2009 01:04:31 +0000
(21:04 -0400)
committer
Daniel Kahn Gillmor
<dkg@fifthhorseman.net>
Tue, 7 Apr 2009 01:04:31 +0000
(21:04 -0400)
src/share/common
patch
|
blob
|
history
diff --git
a/src/share/common
b/src/share/common
index 1ce07fc3e70fcb2417a62ccefb9f4204466b614e..ac0b5d6382a9dd2c345209d0b18d605b1ee84d27 100644
(file)
--- a/
src/share/common
+++ b/
src/share/common
@@
-254,7
+254,7
@@
check_capability() {
file_hash() {
if type md5sum &>/dev/null ; then
md5sum "$1"
- elif type
lockfile
&>/dev/null ; then
+ elif type
md5
&>/dev/null ; then
md5 "$1"
else
failure "Neither md5sum nor md5 are in the path!"