[llvm-commits] [zorg] r172116 - /zorg/trunk/buildbot/llvmlab/master/master.cfg
David Dean
david_dean at apple.com
Thu Jan 10 14:02:10 PST 2013
Author: ddean
Date: Thu Jan 10 16:02:10 2013
New Revision: 172116
URL: http://llvm.org/viewvc/llvm-project?rev=172116&view=rev
Log:
Fix finding path to master.
Modified:
zorg/trunk/buildbot/llvmlab/master/master.cfg
Modified: zorg/trunk/buildbot/llvmlab/master/master.cfg
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/buildbot/llvmlab/master/master.cfg?rev=172116&r1=172115&r2=172116&view=diff
==============================================================================
--- zorg/trunk/buildbot/llvmlab/master/master.cfg (original)
+++ zorg/trunk/buildbot/llvmlab/master/master.cfg Thu Jan 10 16:02:10 2013
@@ -8,15 +8,15 @@
# Extend paths to allow loading zorg and config modules.
# handle either llvm_zorg or zorg to be checked out at the top level.
import os, sys
-path = os.path.join(os.environ.get('HOME'), 'zorg', 'buildbot',
- 'llvmlab', 'master')
-if path not in sys.path:
- sys.path.append(path)
for zorg in ['zorg', 'llvm_zorg']:
+ path = os.path.join(os.environ.get('HOME'), zorg)
+ if path not in sys.path:
+ sys.path.append(path)
path = os.path.join(os.environ.get('HOME'), zorg, 'buildbot')
if path not in sys.path:
sys.path.append(path)
- path = os.path.join(os.environ.get('HOME'), zorg)
+ path = os.path.join(os.environ.get('HOME'), zorg, 'buildbot',
+ 'llvmlab', 'master')
if path not in sys.path:
sys.path.append(path)
More information about the llvm-commits
mailing list