aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatei Zaharia <matei@eecs.berkeley.edu>2010-10-16 22:01:05 -0700
committerMatei Zaharia <matei@eecs.berkeley.edu>2010-10-16 22:01:05 -0700
commitb940164db38ced59dcd26b91e41f20e5c1f56cc2 (patch)
treeb7fed2e948d7619dfc987f9d55174a948d05217a
parente5fb280ec82072fdd3373136a41f96c9536a1592 (diff)
downloadspark-b940164db38ced59dcd26b91e41f20e5c1f56cc2.tar.gz
spark-b940164db38ced59dcd26b91e41f20e5c1f56cc2.tar.bz2
spark-b940164db38ced59dcd26b91e41f20e5c1f56cc2.zip
Less hacky way of preventing config files from being overwritten when a template file changes
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 0486e443a8..d724ca89f6 100644
--- a/Makefile
+++ b/Makefile
@@ -64,8 +64,8 @@ build/spark-dep.jar:
conf-files: $(CONF_FILES)
-$(CONF_FILES): %: %.template
- if [ ! -e $@ ] ; then cp $^ $@; else touch $^; fi
+$(CONF_FILES): %: | %.template
+ cp $@.template $@
test: all
./alltests