Commit 08b3f2c8 authored by Mislav Marohnić's avatar Mislav Marohnić
Browse files

Fix detecting changed definitions in mirror script

Grep mustn't get invoked with 0 parameters, otherwise it will hang
waiting on stdin.
parent 4817d209
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -38,7 +38,8 @@ changed_files() {
}

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() {