summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/leap/bitmask/util.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/leap/bitmask/util.py b/src/leap/bitmask/util.py
index 0283a032..0f2f428e 100644
--- a/src/leap/bitmask/util.py
+++ b/src/leap/bitmask/util.py
@@ -64,8 +64,8 @@ def get_gpg_bin_path():
gpgbin = os.path.abspath(
os.path.join(here(), "apps", "mail", "gpg"))
else:
- gpgbin = os.path.join(
- get_path_prefix(), "..", "apps", "mail", "gpg")
+ gpgbin = os.path.abspath(
+ os.path.join(here(), "..", "apps", "mail", "gpg"))
else:
try:
gpgbin_options = which("gpg", path_extension='/usr/bin/')