mirror of
https://github.com/rbenv/ruby-build.git
synced 2025-10-28 07:41:07 +01:00
Fix detecting changed definitions in mirror script
Grep mustn't get invoked with 0 parameters, otherwise it will hang waiting on stdin.
This commit is contained in:
parent
4817d20938
commit
08b3f2c8d3
1 changed files with 2 additions and 1 deletions
|
|
@ -38,7 +38,8 @@ changed_files() {
|
||||||
}
|
}
|
||||||
|
|
||||||
potentially_new_packages() {
|
potentially_new_packages() {
|
||||||
extract_urls $(changed_files "$1" -- ./share/ruby-build)
|
local files="$(changed_files "$1" -- ./share/ruby-build)"
|
||||||
|
[ -n "$files" ] && extract_urls $files
|
||||||
}
|
}
|
||||||
|
|
||||||
extract_urls() {
|
extract_urls() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue