scripts/monitor in rvm-0.0.86 vs scripts/monitor in rvm-0.0.87

- old
+ new

@@ -44,12 +44,15 @@ for framework in test spec ; do if [[ -d "$framework/" ]] ; then - files=($(\ls ${framework}/**/*_${framework}.rb) $(ls ${framework}/*_${framework}.rb)) - for file in "${files[@]}" ; do - push_if_timestamp_changed $file $framework + #files=($(\ls ${framework}/**/*_${framework}.rb) $(ls ${framework}/*_${framework}.rb)) + #for file in "${files[@]}" ; do + for file in ${framework}/**/*_${framework}.rb ${framework}/*_${framework}.rb ; do + if [[ -f "$file" ]] ; then + push_if_timestamp_changed $file $framework + fi done if [[ "$(array_length "changed_${framework}_files")" -gt 0 ]] ; then rvm_ruby_version=$original_ruby_version rvm_ruby_string=$original_ruby_string