summaryrefslogtreecommitdiffstats
path: root/base/server/python/pki/server/deployment/pkiparser.py
diff options
context:
space:
mode:
Diffstat (limited to 'base/server/python/pki/server/deployment/pkiparser.py')
-rw-r--r--base/server/python/pki/server/deployment/pkiparser.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/server/python/pki/server/deployment/pkiparser.py b/base/server/python/pki/server/deployment/pkiparser.py
index dba1f50f1..9bce634f9 100644
--- a/base/server/python/pki/server/deployment/pkiparser.py
+++ b/base/server/python/pki/server/deployment/pkiparser.py
@@ -163,14 +163,14 @@ class PKIConfigParser:
# RESTEasy
resteasy_lib = subprocess.check_output(
- 'source /etc/pki/pki.conf && echo $RESTEASY_LIB',
+ '. /etc/pki/pki.conf && echo $RESTEASY_LIB',
shell=True)
# workaround for pylint error E1103
resteasy_lib = str(resteasy_lib).strip()
# JNI jar location
jni_jar_dir = subprocess.check_output(
- 'source /usr/share/pki/etc/pki.conf && echo $JNI_JAR_DIR',
+ '. /usr/share/pki/etc/pki.conf && echo $JNI_JAR_DIR',
shell=True)
# workaround for pylint error E1103
jni_jar_dir = str(jni_jar_dir).strip()