summaryrefslogtreecommitdiff
path: root/src/leap
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2016-11-22 17:39:57 +0100
committerKali Kaneko (leap communications) <kali@leap.se>2016-11-22 18:00:29 +0100
commit2d700b6785d583782bbb3d76690866b64b969f52 (patch)
tree2315ec5891160a8b0b8ed1f700218082a3540e6c /src/leap
parent1baa817b567cc234e76faafc5ec92cfa75222ba6 (diff)
[bug] use the bundled gpg binary
the bundle was trying to get the gpg binary from the config folder instead of the bundled binary.
Diffstat (limited to 'src/leap')
-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 0283a03..0f2f428 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/')