WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] A minor change to Makefile
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
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>