Skip to content

Commit 215b260

Browse files
SiegeLordExSiegeLord
authored andcommitted
Fix the sed invocation to also work with BSD sed.
1 parent ba04a52 commit 215b260

File tree

1 file changed

+1
-1
lines changed
  • src/test/run-make/dep-info-no-analysis

1 file changed

+1
-1
lines changed

src/test/run-make/dep-info-no-analysis/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22

33
all:
44
$(RUSTC) -o $(TMPDIR)/input.dd -Z no-analysis --emit dep-info input.rs
5-
sed -i "s/^.*input.dd/input.dd/g" $(TMPDIR)/input.dd
5+
sed -i'.bak' 's/^.*input.dd/input.dd/g' $(TMPDIR)/input.dd
66
diff -u $(TMPDIR)/input.dd input.dd

0 commit comments

Comments
 (0)