summarylogtreecommitdiffstats
path: root/pyregfi-distutils.py.patch
blob: 91a7812ddc8df53a7440e47c87dbfa618c5c237d (plain)
1
2
3
4
5
6
7
8
9
--- pyregfi-distutils.py.old	2012-02-24 22:05:32.173910920 +0100
+++ pyregfi-distutils.py	2012-02-24 22:06:07.139622011 +0100
@@ -1,4 +1,6 @@
 # Called from scons with appropriate python version
 
 from distutils.core import setup
+import os, sys
+sys.prefix = os.environ['PREFIX']
 setup(name='pyregfi', version='1.0', package_dir={'':'python'}, packages=['pyregfi'])