summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 8145f253ef..2261d3488b 100644
--- a/Makefile
+++ b/Makefile
@@ -326,10 +326,10 @@ buildtest:
ChangeLog: Makefile
@ mv $@ $@.tmp
- @ echo "Summary of changes from v$(shell printf '%03i' $$(expr $(VERSION) - 1)) to v$(VERSION)" >> $@
+ @ echo "Summary of changes from v$(shell echo $$(($(VERSION) - 1))) to v$(VERSION)" >> $@
@ echo "============================================" >> $@
@ echo >> $@
- @ git log --pretty=short $(shell printf '%03i' $$(expr $(VERSION) - 1))..HEAD | git shortlog >> $@
+ @ git log --pretty=short $(shell echo $$(($(VERSION) - 1)))..HEAD | git shortlog >> $@
@ echo >> $@
@ cat $@
@ cat $@.tmp >> $@