summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Nicholson <dbn.lists@gmail.com>2009-10-07 17:44:30 -0700
committerDan Nicholson <dbn.lists@gmail.com>2009-10-07 17:44:30 -0700
commit453110c1604ed835e90e062bde554a03cde9c313 (patch)
tree6896e41cf28281fdde87cdb9a3b99a584b564084
parente1a3fa51607961e40d1fea2b3dbfca6837ac9d93 (diff)
xts5: Use temporary tetexec.cfg in case of failures
-rw-r--r--xts5/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/xts5/Makefile.am b/xts5/Makefile.am
index ca17daff..bb46cf7b 100644
--- a/xts5/Makefile.am
+++ b/xts5/Makefile.am
@@ -21,7 +21,7 @@ XTS_CONFIG = TET_ROOT='$(TET_ROOT)' XSET='$(XSET)' XDPYINFO='$(XDPYINFO)' \
$(PERL) -p $(srcdir)/bin/xts-config
tetexec.cfg: tetexec.cfg.in $(srcdir)/bin/xts-config
- $(AM_V_GEN)$(XTS_CONFIG) < $< > $@ || rm -f $@
+ $(AM_V_GEN)$(XTS_CONFIG) < $< > $@.tmp && mv -f $@.tmp $@ || rm -f $@.tmp
check-local: tetexec.cfg
$(run_tcc) $(scenario)