]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
Hack to fix the egg-link and easy-install.pth.
authorDaira Hopwood <daira@jacaranda.org>
Mon, 13 Oct 2014 15:52:32 +0000 (16:52 +0100)
committerDaira Hopwood <daira@jacaranda.org>
Mon, 13 Oct 2014 15:52:32 +0000 (16:52 +0100)
Author: Ramakrishnan Muthukrishnan <ram@leastauthority.com>
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
Makefile

index 0dd234c4dd82da54988dbd5d8576ec151af76157..cc3044cc6235d21a0a9af234a132ba0624c68dd3 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -35,8 +35,8 @@ build:
 .PHONY: build-osx-pkg
 build-osx-pkg:
        $(PYTHON) setup.py build
-       find support -name allmydata-tahoe.egg-link -execdir rm -f -- '{}' +
-       find support -name easy-install.pth -execdir sed -i 's|^.*/src$$||' '{}' +
+       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|' '{}' \;
        touch .built
 
 # create component pkg