Pkgbuild_repos all use the same submit args before. But some of them may need their own args, not the common one.
Signed-off-by: Li Yuanchao lyc163mail@163.com --- sbin/auto_submit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sbin/auto_submit b/sbin/auto_submit index d765094..4e26c87 100755 --- a/sbin/auto_submit +++ b/sbin/auto_submit @@ -50,7 +50,7 @@ class AutoSubmit return unless pkgbuild_repo
submit_argv.push("pkgbuild_repo=#{pkgbuild_repo}") - repo2job_key = 'archlinux' + repo2job_key = @repo2job[git_repo] ? git_repo : 'archlinux' else return unless @repo2job[git_repo]