@@ -143,11 +143,6 module Engines | |||||
143 | source_dirs = source_files.select { |d| File.directory?(d) } |
|
143 | source_dirs = source_files.select { |d| File.directory?(d) } | |
144 | source_files -= source_dirs |
|
144 | source_files -= source_dirs | |
145 |
|
145 | |||
146 | unless source_files.empty? |
|
|||
147 | base_target_dir = File.join(destination, File.dirname(source_files.first)) |
|
|||
148 | FileUtils.mkdir_p(base_target_dir) |
|
|||
149 | end |
|
|||
150 |
|
||||
151 | source_dirs.each do |dir| |
|
146 | source_dirs.each do |dir| | |
152 | # strip down these paths so we have simple, relative paths we can |
|
147 | # strip down these paths so we have simple, relative paths we can | |
153 | # add to the destination |
|
148 | # add to the destination |
General Comments 0
You need to be logged in to leave comments.
Login now