]> xenbits.xensource.com Git - libvirt.git/commit
examples: Try harder to uninstall nwfilter
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 19 Apr 2016 09:13:00 +0000 (11:13 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 20 Apr 2016 15:33:55 +0000 (17:33 +0200)
commit25866ec6a6c5d551f6d7c230d5ce1f641fd138ae
tree2e6f62096effefd6e589f30d4a05a2eabd6ffda8
parent2f3c89fbbb79a24d814961ae85b34450a752d251
examples: Try harder to uninstall nwfilter

We have this code in our Makefile that tries to remove
/etc/libvirt/nwfilter if directory is left empty after all our
example nwfilters were uninstalled. However, the check for that
is missing quotation marks thus rendering the test useless:

test -z allow-arp.xml allow-dhcp-server.xml .. qemu-announce-self.xml || \
  rmdir "/some/path/libvirt.git/_install/etc/libvirt/nwfilter"
/bin/sh: line 0: test: too many arguments

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
examples/Makefile.am