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:
6acb271
)
fix typo getuid usage
author
Zhang Qiang
<qiang.z.zhang@intel.com>
Tue, 5 Jun 2012 07:03:06 +0000
(15:03 +0800)
committer
Zhang Qiang
<qiang.z.zhang@intel.com>
Tue, 5 Jun 2012 07:03:06 +0000
(15:03 +0800)
gitbuildsys/cmd_build.py
patch
|
blob
|
history
diff --git
a/gitbuildsys/cmd_build.py
b/gitbuildsys/cmd_build.py
index 45cdbaf05c33059df2dba774cf8ec358986743cd..4b783e986f74aa4ff2aa87314df488f503edf557 100644
(file)
--- a/
gitbuildsys/cmd_build.py
+++ b/
gitbuildsys/cmd_build.py
@@
-327,7
+327,7
@@
def do(opts, args):
(spec.name, spec.version)]
# if current user is root, don't run with sucmd
- if os.getuid == 0:
+ if os.getuid
()
== 0:
os.environ['GBS_BUILD_REPOAUTH'] = repo_auth_conf
else:
sucmd = configmgr.get('su-wrapper', 'build').split()