diff --git a/lib/motion/project/template.rb b/lib/motion/project/template.rb index e6e6c083..6dac0e2b 100644 --- a/lib/motion/project/template.rb +++ b/lib/motion/project/template.rb @@ -93,6 +93,7 @@ module Motion; module Project template_files = File.join(template_directory, 'files') Dir.glob(File.join(template_files, "**/")).each do |dir| dir.sub!("#{template_files}/", '') + dir = replace_file_name(dir) FileUtils.mkdir_p(dir) if dir.length > 0 end end