Revert "Install (platform-independent) python scripts to the PYTHONDIR rather than...
authorJelmer Vernooij <jelmer@samba.org>
Thu, 8 Dec 2011 22:46:14 +0000 (23:46 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Fri, 9 Dec 2011 00:58:50 +0000 (01:58 +0100)
This reverts commit de4b8943bfb40e2f50c9e4e2ee5d39e986317d08.

PYTHONDIR and PYTHONARCHDIR are both incorrect - they're the
distribution's python locations, rather than the python locations for
third party applications. For the moment, using PYTHONARCHDIR seems
better though, because it works around an issue on Fedora/RedHat.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Fri Dec  9 01:58:50 CET 2011 on sn-devel-104

source4/scripting/python/wscript_build

index 73f7ae80aeaae4d9c33f8bf52274b808660c2e5e..8879f759bad789e9647437722c2a64146259595c 100644 (file)
@@ -36,4 +36,4 @@ bld.SAMBA_SCRIPT('samba_python',
                  pattern='samba/**/*.py',
                  installdir='python')
 
-bld.INSTALL_WILDCARD('${PYTHONDIR}', 'samba/**/*.py', flat=False)
+bld.INSTALL_WILDCARD('${PYTHONARCHDIR}', 'samba/**/*.py', flat=False)