lib/buildr/core/common.rb in vic-buildr-1.3.1 vs lib/buildr/core/common.rb in vic-buildr-1.3.3
- old
+ new
@@ -109,10 +109,10 @@
end
else
# Download to a file created by the task.
fail unless args.keys.size == 1
uri = URI.parse(args.values.first.to_s)
- file(args.keys.first).tap do |task|
+ file(args.keys.first.to_s).tap do |task|
task.sources << uri
task.enhance { uri.download task.name }
end
end