From: Brian Warner Date: Thu, 1 Feb 2007 10:39:13 +0000 (-0700) Subject: Makefile: $(PWD) doesn't always work, in particular the buildslaves don't X-Git-Tag: tahoe_v0.1.0-0-UNSTABLE~285 X-Git-Url: https://git.rkrishnan.org/%5B/frontends/%22file:/%22doc.html/nxhtml.html?a=commitdiff_plain;h=190e3ab46dd4e3caa7c85cfdcf0285214e9ad1bb;p=tahoe-lafs%2Ftahoe-lafs.git Makefile: $(PWD) doesn't always work, in particular the buildslaves don't update environment variables like $(PWD) when the launch commands. --- diff --git a/Makefile b/Makefile index 7084f0fe..d7502694 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ build-pyfec: build-Crypto: cd src/Crypto && $(PYTHON) ./setup.py install --prefix=$(BASE)/instdir -INSTDIR=$(PWD)/instdir/lib/python$(shell $(PYTHON) -c 'import sys;print sys.version_info[0]').$(shell $(PYTHON) -c 'import sys;print sys.version_info[1]')/site-packages +INSTDIR=$(BASE)/instdir/lib/python$(shell $(PYTHON) -c 'import sys;print sys.version_info[0]').$(shell $(PYTHON) -c 'import sys;print sys.version_info[1]')/site-packages ifneq ($(PYTHONPATH),) PP=PYTHONPATH=${PYTHONPATH}:$(INSTDIR)