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

[Xen-devel] [PATCH] A minor change to Makefile


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx>
  • Date: Sat, 16 Jul 2005 12:27:16 +0800
  • Delivery-date: Sat, 16 Jul 2005 04:26:02 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcWJvqWUxyeqrDrbT/abpl+FKZmOYg==
  • Thread-topic: [PATCH] A minor change to Makefile

At least on my FC3, the original date +%s does not work.

Thanks
Yunhong Jiang

Signed-off-by: Yunhong Jiang <yunhong.jiang@xxxxxxxxx>

diff -r d75a502b45eb Makefile
--- a/Makefile  Fri Jul 15 19:57:12 2005
+++ b/Makefile  Sat Jul 16 12:26:28 2005
@@ -163,7 +163,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/$(LIBDIR)/libxc* $(D)/usr/$(LIBDIR)/libxutil*
        rm -rf $(D)/usr/$(LIBDIR)/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®.