From 190e3ab46dd4e3caa7c85cfdcf0285214e9ad1bb Mon Sep 17 00:00:00 2001
From: Brian Warner <warner@allmydata.com>
Date: Thu, 1 Feb 2007 03:39:13 -0700
Subject: [PATCH] Makefile: $(PWD) doesn't always work, in particular the
 buildslaves don't update environment variables like $(PWD) when the launch
 commands.

---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)
-- 
2.45.2