aboutsummaryrefslogtreecommitdiffstats
path: root/tools/examples
diff options
context:
space:
mode:
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2005-10-05 13:54:36 +0100
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2005-10-05 13:54:36 +0100
commit3d8296adbbbc1f6cad533e2bb0ace49e5d3e02f0 (patch)
tree11cf696c31996208fbaaf0d827429641d2c0fab5 /tools/examples
parent862b6e64648870e3427402ef63ffc16e66b2da21 (diff)
downloadxen-3d8296adbbbc1f6cad533e2bb0ace49e5d3e02f0.tar.gz
xen-3d8296adbbbc1f6cad533e2bb0ace49e5d3e02f0.tar.bz2
xen-3d8296adbbbc1f6cad533e2bb0ace49e5d3e02f0.zip
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@redhat.com>
Diffstat (limited to 'tools/examples')
-rw-r--r--tools/examples/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/examples/Makefile b/tools/examples/Makefile
index f17fbd321a..7c0266c8bc 100644
--- a/tools/examples/Makefile
+++ b/tools/examples/Makefile
@@ -44,7 +44,7 @@ install-configs: $(XEN_CONFIGS)
[ -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 @@ install-scripts:
[ -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