From: Jean-Philippe Lang Date: Sat, 12 Jul 2008 11:04:41 +0000 (+0000) Subject: Fixes engines assets mirroring. X-Git-Tag: 0.8.0-RC1~359 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4e7336dac9aaf199547a6b908899b613e7f7581e;p=redmine.git Fixes engines assets mirroring. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1657 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/vendor/plugins/engines/lib/engines.rb b/vendor/plugins/engines/lib/engines.rb index 47886f5f1..0e1bdbc9b 100644 --- a/vendor/plugins/engines/lib/engines.rb +++ b/vendor/plugins/engines/lib/engines.rb @@ -143,11 +143,6 @@ module Engines source_dirs = source_files.select { |d| File.directory?(d) } source_files -= source_dirs - unless source_files.empty? - base_target_dir = File.join(destination, File.dirname(source_files.first)) - FileUtils.mkdir_p(base_target_dir) - end - source_dirs.each do |dir| # strip down these paths so we have simple, relative paths we can # add to the destination