From 7b0b4637208cc2c97b67f873e8ef194051307e2c Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Sat, 20 Jul 2013 14:05:04 +0200 Subject: [PATCH 1/1] Yet another attempt at signature-build This one should work on all flavours of sed Suggested by by Louis Zulli No functional change. --- src/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Makefile b/src/Makefile index f8d65ccb..86693ab2 100644 --- a/src/Makefile +++ b/src/Makefile @@ -447,8 +447,7 @@ profile-build: embed-signature: @echo "Running benchmark for getting the signature ..." @$(SIGNBENCH) 2>&1 | sed -n 's/Nodes searched : \(.*\)/\/string Version\/s\/"\\(.*\\)"\/"sig-\1"\//p' > sign.txt - @sed -f sign.txt misc.cpp > misc2.cpp - @mv misc2.cpp misc.cpp + @sed -i'' -f sign.txt misc.cpp @rm sign.txt signature-build: build embed-signature -- 2.39.2