[libvirt] [PATCH] virt-pki-validate contains unexpanded SYSCONFDIR variable

Doug Goldstein cardoe at gentoo.org
Thu Feb 4 06:55:08 UTC 2010


virt-pki-validate contains an unexpanded SYSCONFDIR variable which
causes it not to function at all.
---
 tools/virt-pki-validate.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/virt-pki-validate.in b/tools/virt-pki-validate.in
index a428a96..3e8c642 100755
--- a/tools/virt-pki-validate.in
+++ b/tools/virt-pki-validate.in
@@ -25,7 +25,7 @@ echo Found $CERTOOL
 #
 # Check the directory structure
 #
-PKI="$(SYSCONFDIR)/pki"
+PKI="@SYSCONFDIR@/pki"
 if [ ! -d $PKI ]
 then
     echo the $PKI directory is missing, it is usually
-- 
1.6.6.1




More information about the libvir-list mailing list