Skip to content

Commit

Permalink
Fix the sed invocation to also work with BSD sed.
Browse files Browse the repository at this point in the history
  • Loading branch information
SiegeLordEx authored and SiegeLord committed May 12, 2016
1 parent ba04a52 commit 215b260
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/run-make/dep-info-no-analysis/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

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

0 comments on commit 215b260

Please sign in to comment.