parent
9be58cc7f3
commit
22f3e2d4b2
|
@ -8,7 +8,7 @@ template_path = ENV['PWD'] + '/app/templates'
|
||||||
all_template = Dir.glob(template_path+'/*/')
|
all_template = Dir.glob(template_path+'/*/')
|
||||||
all_template.each do |folder|
|
all_template.each do |folder|
|
||||||
begin
|
begin
|
||||||
system ('cp -f '+ app_path + '/personal-journal/modules' + folder + '/modules')
|
system ('cp -f '+ app_path + ' /personal-journal/modules' + folder + '/modules')
|
||||||
rescue
|
rescue
|
||||||
puts 'error copy'
|
puts 'error copy'
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue