[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] multiple uninstalls - small patch



Hi there,
I have found, multiple make uninstall does not work. This "small patch" repaired the missing keyword.
-j


$ cat xen_uninstall.patch
diff -Naur xen-2.0-orig/Makefile xen-2.0-new/Makefile
--- xen-2.0-orig/Makefile       2005-05-22 10:56:31.000000000 +0000
+++ xen-2.0-new/Makefile        2005-07-22 17:00:28.555348328 +0000
@@ -157,7 +157,7 @@
 uninstall: DESTDIR=
 uninstall: D=$(DESTDIR)
 uninstall:
-       [ -d $(D)/etc/xen ] && mv -f $(D)/etc/xen $(D)/etc/xen.old-$(date +%s)
+       [ -d $(D)/etc/xen ] && mv -f $(D)/etc/xen $(D)/etc/xen.old-$(shell date +%s)
        rm -rf $(D)/etc/init.d/xend*
        rm -rf $(D)/usr/lib/libxc* $(D)/usr/lib/libxutil*
        rm -rf $(D)/usr/lib/python/xen $(D)/usr/include/xen



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.