From 215b2603f1a4a1f82e8a454addf36f104742b147 Mon Sep 17 00:00:00 2001 From: Pavel Sountsov Date: Thu, 12 May 2016 09:32:17 -0700 Subject: [PATCH] Fix the sed invocation to also work with BSD sed. --- src/test/run-make/dep-info-no-analysis/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/run-make/dep-info-no-analysis/Makefile b/src/test/run-make/dep-info-no-analysis/Makefile index 66bb37d8bf33e..5d2cfadfd020a 100644 --- a/src/test/run-make/dep-info-no-analysis/Makefile +++ b/src/test/run-make/dep-info-no-analysis/Makefile @@ -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