summaryrefslogtreecommitdiffstats
path: root/base/server/python
diff options
context:
space:
mode:
Diffstat (limited to 'base/server/python')
-rw-r--r--base/server/python/pki/server/deployment/pkiparser.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/base/server/python/pki/server/deployment/pkiparser.py b/base/server/python/pki/server/deployment/pkiparser.py
index 6086da0b1..92d3e66ba 100644
--- a/base/server/python/pki/server/deployment/pkiparser.py
+++ b/base/server/python/pki/server/deployment/pkiparser.py
@@ -173,7 +173,8 @@ class PKIConfigParser:
# JNI jar location
jni_jar_dir = subprocess.check_output(
- '. /usr/share/pki/etc/pki.conf && echo $JNI_JAR_DIR',
+ '. /usr/share/pki/etc/pki.conf && . /etc/pki/pki.conf '
+ '&& echo $JNI_JAR_DIR',
shell=True)
# workaround for pylint error E1103
jni_jar_dir = str(jni_jar_dir).strip()