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-changelog

[Xen-changelog] Makefile:

ChangeSet 1.1864, 2005/05/16 13:50:57+01:00, cl349@xxxxxxxxxxxxxxxxxxxx

        Makefile:
          Add time-label to /etc/xen.old directory name.
        Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxx>



 Makefile |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


diff -Nru a/Makefile b/Makefile
--- a/Makefile  2005-05-16 13:06:28 -04:00
+++ b/Makefile  2005-05-16 13:06:28 -04:00
@@ -157,7 +157,7 @@
 uninstall: DESTDIR=
 uninstall: D=$(DESTDIR)
 uninstall:
-       [ ! -d $(D)/etc/xen ] || mv -f $(D)/etc/xen $(D)/etc/xen.old
+       [ -d $(D)/etc/xen ] && mv -f $(D)/etc/xen $(D)/etc/xen.old-$(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-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

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