aboutsummaryrefslogtreecommitdiff
path: root/bin/gpg-wrapper
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xbin/gpg-wrapper4
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