Redirect errors from md5sum detection to /dev/null since md5sum is not available on all platforms.

Bug #163744 r=bryner
This commit is contained in:
seawood%netscape.com 2002-08-22 01:06:17 +00:00
parent 8fab3c5099
commit 795fe5cc9e

View File

@ -172,9 +172,9 @@ moz_run_program()
moz_test_binary /bin/type
if [ $? -eq 1 ]
then
crc_prog=`type md5sum | awk '{print $3;}'`
crc_prog=`type md5sum | awk '{print $3;}' 2>/dev/null`
else
crc_prog=`which md5sum`
crc_prog=`which md5sum 2>/dev/null`
fi
if [ -x "$crc_prog" ]
then