diff options
author | Ben Boeckel <MathStuf@gmail.com> | 2009-09-08 22:18:28 -0400 |
---|---|---|
committer | Ben Boeckel <MathStuf@gmail.com> | 2009-09-08 22:18:28 -0400 |
commit | bb99c906c332f650a5a7b6db053045055131162b (patch) | |
tree | c51e192f0b938c762d7cdd085c7579812fa38476 /rpmbuild-remote.py | |
parent | 4cef6d78f82159ce78380a67e73ae17242f7fa07 (diff) | |
download | rpmbuild-remote-bb99c906c332f650a5a7b6db053045055131162b.tar.gz rpmbuild-remote-bb99c906c332f650a5a7b6db053045055131162b.tar.xz rpmbuild-remote-bb99c906c332f650a5a7b6db053045055131162b.zip |
Use the correct variable
Diffstat (limited to 'rpmbuild-remote.py')
-rw-r--r-- | rpmbuild-remote.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rpmbuild-remote.py b/rpmbuild-remote.py index 9631e83..73bfee2 100644 --- a/rpmbuild-remote.py +++ b/rpmbuild-remote.py @@ -127,10 +127,10 @@ def execute_jobs(opts, system, jobs): % (opts.mock, file) else: dest = "rpmbuild/SPECS" - send_files(session, [jobs[0]], dest) + send_files(session, [job[0]], dest) dest = "rpmbuild/SOURCES" - send_files(session, jobs[1:], dest) - file = os.path.basename(jobs[0]) + send_files(session, job[1:], dest) + file = os.path.basename(job[0]) LOG.info("Building %s from %d souces" % (file, len(job) - 1)) cmd = "rpmbuild -ba rpmbuild/SPECS/%s" % file) files = session.exec_command(cmd) |