[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] Currently, the scripts in /etc/xen/scripts won't get overwritten if they
# HG changeset patch # User kaf24@xxxxxxxxxxxxxxxxxxxx # Node ID b4b12c9f120083417d8732b6de041cdded0d87dc # Parent e6ecfb4f4a24cec27be0bd36af6230004d8e590b Currently, the scripts in /etc/xen/scripts won't get overwritten if they exist which means that changes can easily not get updated. This makes it so the scripts always get installed. Signed-off-by: Jeremy Katz <katzj@xxxxxxxxxx> diff -r e6ecfb4f4a24 -r b4b12c9f1200 tools/examples/Makefile --- a/tools/examples/Makefile Wed Oct 5 12:52:18 2005 +++ b/tools/examples/Makefile Wed Oct 5 12:54:36 2005 @@ -44,7 +44,7 @@ [ -d $(DESTDIR)$(XEN_CONFIG_DIR)/auto ] || \ $(INSTALL_DIR) $(DESTDIR)$(XEN_CONFIG_DIR)/auto for i in $(XEN_CONFIGS); \ - do [ -a $(DESTDIR)$(XEN_CONFIG_DIR)/$$i ] || \ + do [ -e $(DESTDIR)$(XEN_CONFIG_DIR)/$$i ] || \ $(INSTALL_DATA) $$i $(DESTDIR)$(XEN_CONFIG_DIR); \ done @@ -52,7 +52,7 @@ [ -d $(DESTDIR)$(XEN_SCRIPT_DIR) ] || \ $(INSTALL_DIR) $(DESTDIR)$(XEN_SCRIPT_DIR) for i in $(XEN_SCRIPTS); \ - do [ -a $(DESTDIR)$(XEN_SCRIPT_DIR)/$$i ] || \ + do \ $(INSTALL_PROG) $$i $(DESTDIR)$(XEN_SCRIPT_DIR); \ done _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |