fix gbs build twice issue
authorZhang Qiang <qiang.z.zhang@intel.com>
Fri, 20 Jul 2012 21:45:11 +0000 (05:45 +0800)
committerZhang Qiang <qiang.z.zhang@intel.com>
Fri, 20 Jul 2012 21:45:11 +0000 (05:45 +0800)
gitbuildsys/cmd_build.py

index 9f40c0a..35b7d75 100644 (file)
@@ -446,7 +446,6 @@ def do(opts, args):
         cmd = ['sudo'] + proxies + ['GBS_BUILD_REPOAUTH=%s' % \
               repo_auth_conf ] + cmd
 
-    cmd += [os.path.join(export_dir, os.path.basename(specfile))]
     # runner.show() can't support interactive mode, so use subprocess insterad.
     msger.debug("running command %s" % cmd)
     try: