lib/j1/commands/generate.rb in j1-template-2021.0.6 vs lib/j1/commands/generate.rb in j1-template-2021.0.7

- old
+ new

@@ -138,15 +138,16 @@ result = output.split(';') user_path = result[0] system_path = result[1] if options['system'] J1.logger.info "Install patches on path #{system_path} ..." + dest = system_path + '/gems/' + patch_gem + '/lib' else J1.logger.info "Install patches on path #{user_path} ..." - src = patch_source_path dest = user_path + '/gems/' + patch_gem + '/lib' - FileUtils.cp_r(src, dest) end + src = patch_source_path + FileUtils.cp_r(src, dest) end end end end