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

index 145a1dd5a5967505624aa2b398f37d1b427a1d3c..0dd234c4dd82da54988dbd5d8576ec151af76157 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 rm -f -- '{}' +
+       find support -name easy-install.pth -execdir sed -i 's|^.*/src$$||' '{}' +
        touch .built
 
 # create component pkg