diff options
author | mkanat%bugzilla.org <> | 2009-09-04 21:08:05 +0000 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2009-09-04 21:08:05 +0000 |
commit | ccaf82a249d988a9192034b5afa33b754aefd379 (patch) | |
tree | dba9420d26b014b5afe4e59f3a6010ca93b11152 /Bugzilla/Config | |
parent | 120fc1b9be07ee44c98a9ec2c5c64568e9ebccbd (diff) | |
download | bugs-ccaf82a249d988a9192034b5afa33b754aefd379.tar bugs-ccaf82a249d988a9192034b5afa33b754aefd379.tar.gz bugs-ccaf82a249d988a9192034b5afa33b754aefd379.tar.bz2 bugs-ccaf82a249d988a9192034b5afa33b754aefd379.tar.xz bugs-ccaf82a249d988a9192034b5afa33b754aefd379.zip |
Bug 224588: Unify ($^O =~ /MSWin/) checks (always use ON_WINDOWS)
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit
Diffstat (limited to 'Bugzilla/Config')
-rw-r--r-- | Bugzilla/Config/Common.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Config/Common.pm b/Bugzilla/Config/Common.pm index cb95a2f8d..90a5a6c76 100644 --- a/Bugzilla/Config/Common.pm +++ b/Bugzilla/Config/Common.pm @@ -297,7 +297,7 @@ sub check_mail_delivery_method { my $check = check_multi(@_); return $check if $check; my $mailer = shift; - if ($mailer eq 'sendmail' && $^O =~ /MSWin32/i) { + if ($mailer eq 'sendmail' and ON_WINDOWS) { # look for sendmail.exe return "Failed to locate " . SENDMAIL_EXE unless -e SENDMAIL_EXE; |