diff options
Diffstat (limited to 'substitute.mk')
-rw-r--r-- | substitute.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/substitute.mk b/substitute.mk index cc21eba40245..bbdb9b617b4f 100644 --- a/substitute.mk +++ b/substitute.mk @@ -8,5 +8,6 @@ -e "s^@libexecdir\@^$(libexecdir)^g" \ -e "s^@system\@^$(system)^g" \ -e "s^@wget\@^$(wget)^g" \ + -e "s^@version\@^$(VERSION)^g" \ < $< > $@ || rm $@ - chmod +x $@ + if test -x $<; then chmod +x $@; fi |