diff options
-rw-r--r-- | lib/GnuPG/Interface.pm | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/GnuPG/Interface.pm b/lib/GnuPG/Interface.pm index 353745e..fb5f1f2 100644 --- a/lib/GnuPG/Interface.pm +++ b/lib/GnuPG/Interface.pm @@ -76,7 +76,7 @@ sub gnupg_call { shift->call(@_); } sub BUILD { my ( $self, $args ) = @_; - $self->hash_init( call => 'gpg', %$args ); + $self->hash_init( call => '/usr/bin/gpg', %$args ); } struct( @@ -1201,9 +1201,8 @@ keys to list in a key-listing. =item call -This defines the call made to invoke GnuPG. Defaults to 'gpg'; this -should be changed if 'gpg' is not in your path, or there is a different -name for the binary on your system. +This defines the call made to invoke GnuPG. Defaults to '/usr/bin/gpg'; this +should be changed if there is a different name for the binary on your system. =item passphrase |