From 6a624ad72242c47964f7a5e802f2533db7460306 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 14 Apr 2010 15:29:50 -0400 Subject: more portable sed I guess that non-gnu sed may require an extension to -i --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') 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/\((.*?)\)/';print m/\((.*?)\)/'