jhbuild r2234 - in trunk: . jhbuild/commands



Author: fpeters
Date: Thu Aug 14 13:54:42 2008
New Revision: 2234
URL: http://svn.gnome.org/viewvc/jhbuild?rev=2234&view=rev

Log:
* jhbuild/commands/bot.py: look for buildbot in lib64/ subdirectory if
necessary.



Modified:
   trunk/ChangeLog
   trunk/jhbuild/commands/bot.py

Modified: trunk/jhbuild/commands/bot.py
==============================================================================
--- trunk/jhbuild/commands/bot.py	(original)
+++ trunk/jhbuild/commands/bot.py	Thu Aug 14 13:54:42 2008
@@ -118,6 +118,9 @@
             pythonversion = 'python' + str(sys.version_info[0]) + '.' + str(sys.version_info[1])
             pythonpath = os.path.join(config.prefix, 'lib', pythonversion, 'site-packages')
             site.addsitedir(pythonpath)
+            if config.use_lib64:
+                pythonpath = os.path.join(config.prefix, 'lib64', pythonversion, 'site-packages')
+                site.addsitedir(pythonpath)
             try:
                 import buildbot
             except ImportError:



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]