Commit 08b3f2c8 by Mislav Marohnić

Fix detecting changed definitions in mirror script

Grep mustn't get invoked with 0 parameters, otherwise it will hang
waiting on stdin.
parent 4817d209
...@@ -38,7 +38,8 @@ changed_files() { ...@@ -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() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment