]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virt-*-validate.in: quote all variable references
authorDan Kenigsberg <danken@redhat.com>
Sun, 20 Feb 2011 20:29:26 +0000 (22:29 +0200)
committerEric Blake <eblake@redhat.com>
Mon, 21 Feb 2011 17:32:34 +0000 (10:32 -0700)
commitb3ff07a07dd173548bf35b00f6e199345508fc55
tree16a7ec661b09bde85b721e11d13fd543724874b8
parent9b47915914a2754753c0401a56b67f4c908c94fb
virt-*-validate.in: quote all variable references

Alas, the shell is not a real programming language.

Patch generated by manual confirmation of vim's
s/[^"]\@<=\$\S\+\s\@=/"&"/gc
and
s/\(echo \)\@<=[^"].*\$.*$/"&"/c matches.

This patch generate a lot of noise and carries little benefits, as
I do not really expect $PKI to contain spaces or backticks. I'm just
fuming, and would not really mind if this patch is ignored
tools/virt-pki-validate.in
tools/virt-xml-validate.in