summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Bridgen <mikeb@lshift.net>2009-03-30 11:10:35 +0100
committerMichael Bridgen <mikeb@lshift.net>2009-03-30 11:10:35 +0100
commita98c3c8ad76f420b77b1a7de5b56e55f16d44098 (patch)
tree68972334754771978658dbff2dce62b77c5a9e96
parentef11a3b178281f1a1ce22ac97e477299089e714b (diff)
downloadrabbitmq-server-a98c3c8ad76f420b77b1a7de5b56e55f16d44098.tar.gz
Use a backup extension and remove the file afterwardbug20527
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e0f01f4c..cb3f5999 100644
--- a/Makefile
+++ b/Makefile
@@ -123,7 +123,7 @@ srcdist: distclean
cp README.in $(TARGET_SRC_DIR)/README
elinks -dump -no-references -no-numbering $(WEB_URL)build-server.html \
>> $(TARGET_SRC_DIR)/README
- sed -i 's/%%VERSION%%/$(VERSION)/' $(TARGET_SRC_DIR)/ebin/rabbit.app
+ sed -i.save 's/%%VERSION%%/$(VERSION)/' $(TARGET_SRC_DIR)/ebin/rabbit.app && rm -f $(TARGET_SRC_DIR)/ebin/rabbit.app.save
cp -r $(AMQP_CODEGEN_DIR)/* $(TARGET_SRC_DIR)/codegen/
cp codegen.py Makefile $(TARGET_SRC_DIR)