[jhbuild] set default buildbot directory relative to sources directory
- From: Frederic Peters <fpeters src gnome org>
- To: svn-commits-list gnome org
- Subject: [jhbuild] set default buildbot directory relative to sources directory
- Date: Sat, 16 May 2009 06:58:29 -0400 (EDT)
commit 18fd264701eea1613497989f9985baabcced4124
Author: Frédéric Péters <fpeters 0d be>
Date: Sat May 16 12:57:47 2009 +0200
set default buildbot directory relative to sources directory
---
jhbuild/commands/bot.py | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/jhbuild/commands/bot.py b/jhbuild/commands/bot.py
index 683e308..73e8050 100644
--- a/jhbuild/commands/bot.py
+++ b/jhbuild/commands/bot.py
@@ -672,9 +672,7 @@ class cmd_bot(Command):
if buildbot_dir:
basedir = buildbot_dir
else:
- basedir = os.path.join(
- os.path.dirname(os.path.abspath(__file__)),
- '../../buildbot/')
+ basedir = os.path.join(SRCDIR, 'buildbot')
os.chdir(basedir)
if not os.path.exists(os.path.join(basedir, 'builddir')):
os.makedirs(os.path.join(basedir, 'builddir'))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]