Change-Id: I05670479ae4fef747a748c80c94e39c022a93a6f
Signed-off-by: Zhang Qiang <qiang.z.zhang@intel.com>
]
USERID = pwd.getpwuid(os.getuid())[0]
-TMPDIR = os.path.join(configmgr.get('tmpdir', 'general'), '%s-gbs' % USERID)
+TMPDIR = None
def prepare_repos_and_build_conf(args, arch, profile):
'''generate repos and build conf options for depanneur'''
def main(args):
"""gbs build entry point."""
+ global TMPDIR
+ TMPDIR = os.path.join(configmgr.get('tmpdir', 'general'), '%s-gbs' % USERID)
+
if args.commit and args.include_all:
raise Usage('--commit can\'t be specified together with '\
'--include-all')