[EMAIL PROTECTED] <[EMAIL PROTECTED]> [27-06-2006 19:24]:
[...]
> bug 4958: when looking for GPG, look for 'gpg' except on Windows where
> it'll be 'gpg.exe'.  Also, use M::SA::Util::find_executable_in_env_path()
> instead of the not-as-good rewrite version.
[...]
> +  # bug 4958: for *NIX it's "gpg", in Windows it's "gpg.exe"
> +  my $gpg = 'gpg';
> +  if (Mail::SpamAssassin::Util::am_running_on_windows()) {
> +    $gpg .= '.exe';

Cosmetic change (SA probably won't run on Stratus VOS anyway ;-) :

  require Config;
  my $gpg = "gpg$Config::Config{_exe}";

...instead?

-- 
Radosław Zieliński <[EMAIL PROTECTED]>

Attachment: pgpL5GyUZf5OP.pgp
Description: PGP signature

Reply via email to