# HG changeset patch # User luciano@xxxxxxxxxxxxxxxxxxxxxx # Date 1179846675 -3600 # Node ID 357b7651d6095f5b2e9c5dab1e4cb5c7fb6bc379 # Parent 516f41633e202184e897bef24a6d9f17bba7c0ba when using `which` send errors to /dev/null diff -r 516f41633e20 -r 357b7651d609 hcachever.sh --- a/hcachever.sh Sun May 20 00:31:19 2007 -0700 +++ b/hcachever.sh Tue May 22 16:11:15 2007 +0100 @@ -2,13 +2,13 @@ BASEVERSION=1 -if test -x "`which md5`" +if test -x "`which md5 2> /dev/null`" then MD5=md5 -elif test -x "`which md5sum`" +elif test -x "`which md5sum 2> /dev/null`" then MD5=md5sum -elif test -x "`which openssl`" +elif test -x "`which openssl 2> /dev/null`" then MD5="openssl md5 -hex" else
Attachment:
pgpXxdIeFjYel.pgp
Description: PGP signature