diff options
author | Ryan Kavanagh <rak@debian.org> | 2012-09-28 12:37:38 +0100 |
---|---|---|
committer | Ryan Kavanagh <rak@debian.org> | 2012-09-28 12:37:38 +0100 |
commit | ee357bbbe62c5642323c79d2787fd14df884cab5 (patch) | |
tree | 18af99a579d633909b72ebe0575802c25587ad3d /bin/gpg-wrapper | |
parent | Don't explicitly refer to grep's path in run-mailcheck (diff) |
Abstract location of GPG in Make & scirpts to a SUBSTS var; binary is called gpg2 or gpg depending on system
Diffstat (limited to 'bin/gpg-wrapper')
-rwxr-xr-x | bin/gpg-wrapper | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/gpg-wrapper b/bin/gpg-wrapper index a550858..614fbee 100755 --- a/bin/gpg-wrapper +++ b/bin/gpg-wrapper @@ -26,12 +26,12 @@ fi # --lock-never is needed since encfs doesn't support locking any more if [ -f ${decrypted_dir}/gpg.conf ] then - exec gpg --lock-never --homedir ${decrypted_dir} $@ + exec GPG_BINARY --lock-never --homedir ${decrypted_dir} $@ else gpg-mounter if [ -f ${decrypted_dir}/gpg.conf ] then - exec gpg --lock-never --homedir ${decrypted_dir} $@ + exec GPG_BINARY --lock-never --homedir ${decrypted_dir} $@ else echo 'No gnupg.conf in ${decrypted_dir}' exit 1 |