Skip to content

Commit

Permalink
Copy paste can get you into trouble sometimes ;)
Browse files Browse the repository at this point in the history
  • Loading branch information
wayneeseguin committed Aug 11, 2011
1 parent ce78e05 commit d992712
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/md5
Expand Up @@ -22,10 +22,10 @@ then
else else
for _path in /sbin /bin /usr/bin /usr/sbin for _path in /sbin /bin /usr/bin /usr/sbin
do do
if [[ -x "${_path}/md5"]] if [[ -x "${_path}/md5" ]]
then then
archive_md5=$(${_path}/md5 -q "${_archive}") archive_md5=$(${_path}/md5 -q "${_archive}")
elif [[ -x "${_path}/md5sum"]] elif [[ -x "${_path}/md5sum" ]]
then then
archive_md5=$(${_path}/md5sum "${_archive}" | awk '{print $1') archive_md5=$(${_path}/md5sum "${_archive}" | awk '{print $1')
fi fi
Expand Down

0 comments on commit d992712

Please sign in to comment.