From: Daira Hopwood <daira@jacaranda.org>
Date: Mon, 13 Oct 2014 16:12:51 +0000 (+0100)
Subject: Fix sed command for OS X.
X-Git-Url: https://git.rkrishnan.org/specifications/pb.xhtml?a=commitdiff_plain;h=69f3e8c32d5e22fc379abbf60220b6fc3e3c8543;p=tahoe-lafs%2Ftahoe-lafs.git

Fix sed command for OS X.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
---

diff --git a/Makefile b/Makefile
index cc3044cc..96d1b82d 100644
--- a/Makefile
+++ b/Makefile
@@ -36,7 +36,7 @@ build:
 build-osx-pkg:
 	$(PYTHON) setup.py build
 	find support -name allmydata-tahoe.egg-link -execdir sh -c "echo >> {}; echo /Applications/tahoe.app/src >> {}" \;
-	find support -name easy-install.pth -execdir sed -i 's|^.*/src$$|../../../../src|' '{}' \;
+	find support -name easy-install.pth -execdir sed --in-place= 's|^.*/src$$|../../../../src|' '{}' \;
 	touch .built
 
 # create component pkg