diff options
author | Tony Garnock-Jones <tonyg@lshift.net> | 2010-04-01 10:41:06 -0400 |
---|---|---|
committer | Tony Garnock-Jones <tonyg@lshift.net> | 2010-04-01 10:41:06 -0400 |
commit | aab66b4d578ba724018f2de2f51887eae5787bdf (patch) | |
tree | 3af95fdeeeeb8a4bc5281e2f4f593ffee39a5c99 | |
parent | a7017ec1e34ac944b6868fc8db5c62766c7c22ef (diff) | |
download | rabbitmq-server-bug22582.tar.gz |
Use atomic renamebug22582
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -214,8 +214,8 @@ $(SOURCE_DIR)/%_usage.erl: $(DOCS_DIR)/usage.xsl $< > $@.tmp sed -e 's/"/\\"/g' -e 's/%QUOTE%/"/g' $@.tmp > $@.tmp2 fold -s $@.tmp2 > $@.tmp3 - cp $@.tmp3 $@ - rm $@.tmp $@.tmp2 $@.tmp3 + mv $@.tmp3 $@ + rm $@.tmp $@.tmp2 # We rename the file before xmlto sees it since xmlto will use the name of # the file to make internal links. |