summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrpmbuild-remote.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpmbuild-remote.py b/rpmbuild-remote.py
index b19ef3f..68e8a49 100755
--- a/rpmbuild-remote.py
+++ b/rpmbuild-remote.py
@@ -175,11 +175,11 @@ def execute_jobs(opts, system, jobs):
if opts.mock is None:
LOG.info("Building %s" % file)
cmd = "rpmbuild --rebuild rpmbuild/SRPMS/%s" % file
- fetch = get_mock_results
+ fetch = get_rpmbuild_results
else:
LOG.info("Building %s with mock config %s" % (file, opts.mock))
cmd = "mock -r %s rpmbuild/SRPMS/%s" % (opts.mock, file)
- fetch = get_rpmbuild_results
+ fetch = get_mock_results
else:
dest = "rpmbuild/SPECS/"
send_files(session, [job[0]], dest)