projects
/
tools
/
gbs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1791b28
)
bugfix: forget checking .gbs.conf under current dir
author
Zhang Qiang
<qiang.z.zhang@intel.com>
Fri, 28 Jun 2013 09:48:11 +0000
(17:48 +0800)
committer
Zhang Qiang
<qiang.z.zhang@intel.com>
Fri, 28 Jun 2013 09:57:54 +0000
(17:57 +0800)
Change-Id: I8342400bbc4506e1dc1c5c4e9bacf0307fb6a7de
gitbuildsys/conf.py
patch
|
blob
|
history
diff --git
a/gitbuildsys/conf.py
b/gitbuildsys/conf.py
index
3c81578
..
7d219cb
100644
(file)
--- a/
gitbuildsys/conf.py
+++ b/
gitbuildsys/conf.py
@@
-287,12
+287,13
@@
url = http://download.tizen.org/releases/daily/trunk/ivi/latest/
"""
cur_dir = os.path.abspath(start_dir)
while True:
- cur_dir = os.path.dirname(cur_dir)
- if cur_dir == '/':
- break
if os.path.exists(os.path.join(cur_dir, '.repo')) and \
os.path.exists(os.path.join(cur_dir, '.gbs.conf')):
return os.path.join(cur_dir, '.gbs.conf')
+ if cur_dir == '/':
+ break
+ cur_dir = os.path.dirname(cur_dir)
+
return None
tizen_conf = lookfor_tizen_conf(os.getcwd())