As new pkgbuild_repos don't have '-git' at the end, return the first one instead.
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 8845b13..d765094 100755 --- a/sbin/auto_submit +++ b/sbin/auto_submit @@ -18,7 +18,7 @@ class AutoSubmit end
def get_pkgbuild_repo(repo_array) - pkgbuild_repo = nil + pkgbuild_repo = "archlinux/#{repo_array[0]}" repo_array.each do |repo| next unless repo =~ /-git$/
Not clear enough. Can you elaborate and give examples?
On Wed, Dec 16, 2020 at 02:28:30PM +0800, Li Yuanchao wrote:
As new pkgbuild_repos don't have '-git' at the end, return the first one instead.
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 8845b13..d765094 100755 --- a/sbin/auto_submit +++ b/sbin/auto_submit @@ -18,7 +18,7 @@ class AutoSubmit end
def get_pkgbuild_repo(repo_array)
- pkgbuild_repo = nil
- pkgbuild_repo = "archlinux/#{repo_array[0]}" repo_array.each do |repo| next unless repo =~ /-git$/
-- 2.23.0