]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Fix make uninstall
authorDave Allan <dallan@redhat.com>
Fri, 9 Dec 2011 20:58:32 +0000 (15:58 -0500)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 12 Dec 2011 10:19:45 +0000 (11:19 +0100)
Make uninstall currently fails with the following message:

rmdir /etc/sasl2/
rmdir: failed to remove `/etc/sasl2/': Directory not empty

That's fine (correct in fact) so force the command to return success
with || :

daemon/Makefile.am

index 22a9d383534ac7e58be375e9f5bc9de963c67c0e..023410e45ab3d6fb61e1e276f159f7253cb43709 100644 (file)
@@ -351,7 +351,7 @@ install-data-sasl:
 
 uninstall-data-sasl:
        rm -f $(DESTDIR)$(sysconfdir)/sasl2/libvirt.conf
-       rmdir $(DESTDIR)$(sysconfdir)/sasl2/
+       rmdir $(DESTDIR)$(sysconfdir)/sasl2/ || :
 else
 install-data-sasl:
 uninstall-data-sasl: