citrun

watch C/C++ source code execute
Log | Files | Refs | LICENSE

commit a3eeb28d9f61791b1306fd10004f9c782765aa51
parent 77a6bd3a135d707f840a39999e2abebb606f0ed4
Author: Kyle Milz <kyle@0x30.net>
Date:   Mon, 22 Aug 2016 23:00:02 -0600

Jam: try and use sed cross platformly

Diffstat:
MJamrules | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/Jamrules b/Jamrules @@ -86,12 +86,14 @@ actions Stringize echo ";" >> $(<) # Add the declaration to the start of the file. - sed -i -e '1s/^/static const char *$(1:B) = /' $(<) + sed -e '1s/^/static const char *$(1:B) = /' -i.bak $(<) + rm $(<).bak } actions ReplaceTokens { - sed -i -e s,%CITRUN_SHARE%,$(CITRUN_SHARE), $(<) ; + sed -e s,%CITRUN_SHARE%,$(CITRUN_SHARE), -i.bak $(<) ; + rm $(<).bak } rule InstallSyms