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

Daniel Veillard veillard at redhat.com
Thu Feb 4 15:49:52 UTC 2010


On Thu, Feb 04, 2010 at 01:35:49PM +0000, Daniel P. Berrange wrote:
> On Thu, Feb 04, 2010 at 12:55:08AM -0600, Doug Goldstein wrote:
> > 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
> 
> ACK, bizarre how this stopped working, because it did in the past :-(

  Actually I'm surprized it worked before :-)

  pushed, thanks !

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel at veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/




More information about the libvir-list mailing list