summaryrefslogtreecommitdiff
path: root/xmlsecurity/CppunitTest_xmlsecurity_signing.mk
diff options
context:
space:
mode:
Diffstat (limited to 'xmlsecurity/CppunitTest_xmlsecurity_signing.mk')
-rw-r--r--xmlsecurity/CppunitTest_xmlsecurity_signing.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/xmlsecurity/CppunitTest_xmlsecurity_signing.mk b/xmlsecurity/CppunitTest_xmlsecurity_signing.mk
index 747ffdd7041b..2f3ed41e2dfb 100644
--- a/xmlsecurity/CppunitTest_xmlsecurity_signing.mk
+++ b/xmlsecurity/CppunitTest_xmlsecurity_signing.mk
@@ -59,14 +59,16 @@ $(call gb_CppunitTest_get_target,xmlsecurity_signing): \
EXTRA_ENV_VARS := \
LIBO_LD_PATH=$$LD_LIBRARY_PATH
+ifneq (,$(HAVE_GPGCONF_SOCKETDIR))
# create socket dir below /run/user/ instead of in workdir
.PHONY : gb_CppunitTest_run_gpgconf
gb_CppunitTest_run_gpgconf:
GNUPGHOME=$(WORKDIR)/CppunitTest/xmlsecurity_signing.test.user \
- gpgconf --create-socketdir 2>/dev/null || true
+ $(GPGCONF) --create-socketdir
$(call gb_CppunitTest_get_target,xmlsecurity_signing): \
gb_CppunitTest_run_gpgconf
endif
+endif
# vim: set noet sw=4 ts=4: