5 |
# find GPG in the PATH |
# find GPG in the PATH |
6 |
# bug 4958: for *NIX it's "gpg", in Windows it's "gpg.exe" |
# bug 4958: for *NIX it's "gpg", in Windows it's "gpg.exe" |
7 |
$GPGPath = 'gpg' . $Config{_exe}; |
$GPGPath = 'gpg' . $Config{_exe}; |
8 |
+ $GPGPath = 'gpg2' . $Config{_exe} |
+ $GPGPath = 'gpg2' . $Config{_exe}; |
9 |
dbg("gpg: Searching for '$GPGPath'"); |
dbg("gpg: Searching for '$GPGPath'"); |
10 |
|
|
11 |
if ($GPGPath = Mail::SpamAssassin::Util::find_executable_in_env_path($GPGPath)) { |
if ($GPGPath = Mail::SpamAssassin::Util::find_executable_in_env_path($GPGPath)) { |