[releng] health: use JHBUILD_CHECKOUT_DIR env to look for git clones
- From: Frederic Peters <fpeters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [releng] health: use JHBUILD_CHECKOUT_DIR env to look for git clones
- Date: Tue, 11 Aug 2015 08:57:04 +0000 (UTC)
commit 421948d916e8ea27b69b852df81e59cddf5c1a4a
Author: Frédéric Péters <fpeters 0d be>
Date: Tue Aug 11 10:33:32 2015 +0200
health: use JHBUILD_CHECKOUT_DIR env to look for git clones
tools/health/health.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/tools/health/health.py b/tools/health/health.py
index d612f0e..eae4b6e 100644
--- a/tools/health/health.py
+++ b/tools/health/health.py
@@ -28,7 +28,8 @@ import json
CACHE_DIR = 'cache'
-GIT_REPOSITORIES_DIR = '/scratch/jhbuild/src/'
+GIT_REPOSITORIES_DIR = os.environ.get('JHBUILD_CHECKOUT_DIR',
+ os.path.expanduser('~/jhbuild/checkout'))
modules = {}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]