mirror of
https://github.com/rbenv/ruby-build.git
synced 2025-10-26 14:50:39 +01:00
Avoid processing duplicate URLs in mirror script
This commit is contained in:
parent
64726421f9
commit
e8a3cc82e3
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ potentially_new_packages() {
|
|||
}
|
||||
|
||||
extract_urls() {
|
||||
grep -hoe 'http[^"]\+#[^"]\+' "$@"
|
||||
grep -hoe 'http[^"]\+#[^"]\+' "$@" | sort | uniq
|
||||
}
|
||||
|
||||
update() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue