forked from saurabh/personal-journal
parent
daeaa7342b
commit
1466469da8
|
@ -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 + '/modules ' + folder + '/modules')
|
||||||
rescue
|
rescue
|
||||||
puts 'error copy'
|
puts 'error copy'
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue