From ee357bbbe62c5642323c79d2787fd14df884cab5 Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Fri, 28 Sep 2012 12:37:38 +0100 Subject: Abstract location of GPG in Make & scirpts to a SUBSTS var; binary is called gpg2 or gpg depending on system --- bin/gpg-wrapper | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin') 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 -- cgit v1.2.3