diff --git a/tools/tinderbox/post-mozilla-rel.pl b/tools/tinderbox/post-mozilla-rel.pl index b05ae63fe58..cb4cdb41a5e 100755 --- a/tools/tinderbox/post-mozilla-rel.pl +++ b/tools/tinderbox/post-mozilla-rel.pl @@ -419,9 +419,9 @@ sub update_create_stats { $hashvalue; if ($hashfunction eq "sha1") { - $hashvalue = `md5sum $update`; - } else { $hashvalue = `sha1sum $update`; + } else { + $hashvalue = `md5sum $update`; } chomp($hashvalue);