From: Daira Hopwood Date: Tue, 7 Oct 2014 00:21:51 +0000 (+0100) Subject: Workaround for references to 'src' directory from .egg-link and .pth files. X-Git-Url: https://git.rkrishnan.org/junkers?a=commitdiff_plain;h=e3d1f448541ac08a4ff2ddca9e3bd563af570661;p=tahoe-lafs%2Ftahoe-lafs.git Workaround for references to 'src' directory from .egg-link and .pth files. Signed-off-by: Daira Hopwood --- diff --git a/Makefile b/Makefile index c5b113fe..aa7cce04 100644 --- 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