]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
Workaround for references to 'src' directory from .egg-link and .pth files.
authorDaira Hopwood <daira@jacaranda.org>
Tue, 7 Oct 2014 00:21:51 +0000 (01:21 +0100)
committerDaira Hopwood <daira@jacaranda.org>
Mon, 13 Oct 2014 17:53:00 +0000 (18:53 +0100)
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
Makefile

index c5b113fea603985891d3ffa1a090c2caa6fd7fda..aa7cce04e6b7662ad8b6f80a12a011644b1b477e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -35,6 +35,8 @@ build:
 .PHONY: build-osx-pkg
 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.bak 's|^.*/src$$|../../../../src|' '{}' \;
        touch .built
 
 # create component pkg