diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-07-12 11:04:41 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-07-12 11:04:41 +0000 |
commit | 4e7336dac9aaf199547a6b908899b613e7f7581e (patch) | |
tree | ab921523f5e13e994ebe593af4f57af75a619853 /vendor | |
parent | a01a5622616b3bc426e73c53670242ad4133742e (diff) | |
download | redmine-4e7336dac9aaf199547a6b908899b613e7f7581e.tar.gz redmine-4e7336dac9aaf199547a6b908899b613e7f7581e.zip |
Fixes engines assets mirroring.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1657 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'vendor')
-rw-r--r-- | vendor/plugins/engines/lib/engines.rb | 5 |
1 files changed, 0 insertions, 5 deletions
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 |