lib/sow/plugin.rb in sow-0.4.0 vs lib/sow/plugin.rb in sow-0.5
- old
+ new
@@ -305,10 +305,10 @@
opts.delete('less')
#srcs = filter_paths(srcs)
srcs.each do |src|
case into
when /\/$/
- dest = File.join(into, File.basename(src))
+ dest = File.join(into, src) #File.basename(src))
when '.'
dest = src
else
dest = into
end