Skip to content

Commit

Permalink
Revert to old sed command.
Browse files Browse the repository at this point in the history
  • Loading branch information
jku20 committed Sep 16, 2024
1 parent 07b5aa4 commit 3790ff3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fud2/scripts/cocotb-axi.rhai
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ fn cocotb_setup(e) {
e.rule("copy", "cp $in $out");
// This cleans up the extra `make` cruft, leaving what is in between `{` and `}.`
e.rule(
"cleanup-cocotb", `sed -n '/Output:/,/make\[1\]/{/Output:/d;/make\[1\]/d;p}' $in | sed -n ':a;N;$$!ba;s/^[^{]*{\(.*\)}[^}]*$$/\1/p' | sed '1d;$$d' > $out`
"cleanup-cocotb", `sed -n '/Output:/,/make\[1\]/{/Output:/d;/make\[1\]/d;p}' $in > $out`
);
}

Expand Down

0 comments on commit 3790ff3

Please sign in to comment.