From: Zhang Qiang Date: Thu, 28 Jun 2012 05:49:33 +0000 (+0800) Subject: using the packaging directory for obs build files, #60 X-Git-Tag: 0.8~39 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ef407f9d5a4c163d5d86cbabe84c423a246f2610;p=tools%2Fgbs.git using the packaging directory for obs build files, #60 with this patch, developers can chdir to packaging/ to check the remote build data, also osc can be used here. --- diff --git a/gitbuildsys/cmd_remotebuild.py b/gitbuildsys/cmd_remotebuild.py index 75ada09..380da2b 100644 --- a/gitbuildsys/cmd_remotebuild.py +++ b/gitbuildsys/cmd_remotebuild.py @@ -49,7 +49,6 @@ passx=%(passwdx)s APISERVER = configmgr.get('build_server', 'remotebuild') USER = configmgr.get('user', 'remotebuild') PASSWDX = configmgr.get('passwdx', 'remotebuild') -TMPDIR = configmgr.get('tmpdir') def do(opts, args): @@ -65,7 +64,7 @@ def do(opts, args): workdir = repo.path - tmpdir = '%s/%s' % (TMPDIR, USER) + tmpdir = os.path.join(workdir, 'packaging') if not os.path.exists(tmpdir): os.makedirs(tmpdir)