summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6b80f73..38cc49b 100644
--- a/Makefile
+++ b/Makefile
@@ -43,6 +43,7 @@ clean: etckeeper.spec
rm -rf build
etckeeper.spec:
- sed -i "s/Version:.*/Version: $$(perl -e '$$_=<>;print m/\((.*?)\)/'<debian/changelog)/" etckeeper.spec
+ sed -i~ "s/Version:.*/Version: $$(perl -e '$$_=<>;print m/\((.*?)\)/'<debian/changelog)/" etckeeper.spec
+ rm -f etckeeper.spec~
.PHONY: etckeeper.spec