transfer correct gbs export options to depanneur
authorZhang Qiang <qiang.z.zhang@intel.com>
Wed, 19 Sep 2012 13:44:23 +0000 (21:44 +0800)
committerZhang Qiang <qiang.z.zhang@intel.com>
Wed, 19 Sep 2012 13:44:23 +0000 (21:44 +0800)
Change-Id: If988d075a91392434d0619662e131291d0bc2123

gitbuildsys/cmd_build.py

index fd87dec..c0afbcb 100644 (file)
@@ -337,11 +337,11 @@ def do(opts, args):
     if opts.commit:
         cmd += ['--commit=%s' % opts.commit]
     if opts.upstream_branch:
-        cmd += ['--upstream-branch']
+        cmd += ['--upstream-branch=%s' % opts.upstream_branch]
     if opts.upstream_tag:
-        cmd += ['--upstream-tag']
+        cmd += ['--upstream-tag=%s' % opts.upstream_tag]
     if opts.squash_patches_until:
-        cmd += ['--squash-patches-until']
+        cmd += ['--squash-patches-until=%s' % opts.squash_patches_until]
 
     msger.debug("running command: %s" % ' '.join(cmd))
     if subprocess.call(cmd):