diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2010-04-14 15:29:50 -0400 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2010-04-14 15:29:50 -0400 |
commit | 6a624ad72242c47964f7a5e802f2533db7460306 (patch) | |
tree | eafe8ef84bd1d77d5b52fa1800b63f3e31f6434f | |
parent | a7a6f970db8d3e6494387e38c750e4daef8a7b9b (diff) |
more portable sed
I guess that non-gnu sed may require an extension to -i
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |