]> xenbits.xensource.com Git - libvirt.git/commit
portability fixes to tools/virt-pki-validate.in
authorDustin Kirkland <kirkland@canonical.com>
Wed, 21 Apr 2010 21:52:10 +0000 (16:52 -0500)
committerEric Blake <eblake@redhat.com>
Thu, 22 Apr 2010 15:06:30 +0000 (09:06 -0600)
commitcb06a9bfe529e64b15773cb86781ae14c09f8216
tree4576fb0cc5a3a8c881301fd5441c19cc2e9a3c55
parent1f7560e25d0f5fa7dd2a609a7726eee7f6b8097c
portability fixes to tools/virt-pki-validate.in

A few fixes will help make tools/virt-pki-validate.in useful on Debian
and Ubuntu.  And one fix should be useful to everyone (see #3).

 1) note our gnutls-bin package (in addition to your gnutls-utils
package) in the no-certtool error text

 2) fix a bashism, == should be = in the case where /bin/sh is a symlink
to dash

 3) $(SYSCONFDIR) cannot evaluate; set a single shell SYSCONFDIR
variable to the autoconf @SYSCONFDIR@ value, and use $SYSCONFDIR
everywhere

Bug report:
 * https://bugs.edge.launchpad.net/ubuntu/+source/libvirt/+bug/562266

Signed-off-by: Dustin Kirkland <kirkland@canonical.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
tools/virt-pki-validate.in