From: Daira Hopwood <daira@jacaranda.org>
Date: Mon, 13 Oct 2014 16:20:18 +0000 (+0100)
Subject: Another try at the sed command.
X-Git-Url: https://git.rkrishnan.org/Site/%5B%5E?a=commitdiff_plain;h=e2511a3d94cff973fde027e020ac324ff4c5dfc3;p=tahoe-lafs%2Ftahoe-lafs.git

Another try at the sed command.

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

diff --git a/Makefile b/Makefile
index 96d1b82d..1be5b744 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 --in-place= 's|^.*/src$$|../../../../src|' '{}' \;
+	find support -name easy-install.pth -execdir sed -i "" 's|^.*/src$$|../../../../src|' '{}' \;
 	touch .built
 
 # create component pkg