From: Daira Hopwood Date: Mon, 13 Oct 2014 15:52:32 +0000 (+0100) Subject: Hack to fix the egg-link and easy-install.pth. X-Git-Url: https://git.rkrishnan.org/specifications/components/COPYING.GPL?a=commitdiff_plain;h=476aae310ca7eaae04eeda2ca66cd7882a346a9f;p=tahoe-lafs%2Ftahoe-lafs.git Hack to fix the egg-link and easy-install.pth. Author: Ramakrishnan Muthukrishnan Signed-off-by: Daira Hopwood --- diff --git a/Makefile b/Makefile index 0dd234c4..cc3044cc 100644 --- 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