Skip to contentSkip to conversation

multiple uninstalls - small patch

DISCUSSION [email protected] 1 participant 1 message Jul 22, 2005

lore
Share & tools
lore
#0 lore raw

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
[email protected]
http://lists.xensource.com/xen-devel