lib/rake/contrib/ftptools.rb in rake-0.9.3.beta.1 vs lib/rake/contrib/ftptools.rb in rake-0.9.3.beta.2

- old
+ new

@@ -125,10 +125,11 @@ end # Upload all files matching +wildcard+ to the uploader's root # path. def upload_files(wildcard) - Dir[wildcard].each do |fn| + fail "OUCH" + Rake.glob(wildcard).each do |fn| upload(fn) end end # Close the uploader.