From 476aae310ca7eaae04eeda2ca66cd7882a346a9f Mon Sep 17 00:00:00 2001 From: Daira Hopwood Date: Mon, 13 Oct 2014 16:52:32 +0100 Subject: [PATCH] Hack to fix the egg-link and easy-install.pth. Author: Ramakrishnan Muthukrishnan Signed-off-by: Daira Hopwood --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.45.2