]> source.dussan.org Git - redmine.git/commitdiff
Fixes engines assets mirroring.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 12 Jul 2008 11:04:41 +0000 (11:04 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 12 Jul 2008 11:04:41 +0000 (11:04 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1657 e93f8b46-1217-0410-a6f0-8f06a7374b81

vendor/plugins/engines/lib/engines.rb

index 47886f5f18207aab2ae4eb8a1584afe2d81961b1..0e1bdbc9b727e90c3defee0684a526af2c37b972 100644 (file)
@@ -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