Fix copy file bug.
This commit is contained in:
parent
c624b5c216
commit
6117ec6f09
|
@ -15,8 +15,7 @@ if bundle_update_flag
|
|||
if !folder.include?('mobile')
|
||||
info_json_file = "#{folder}modules/event_news_mod/info.json"
|
||||
if File.exist?(info_json_file)
|
||||
Bundler.with_clean_env{system ('cp -f '+ app_path + '/modules/event_news_mod
|
||||
/show.html.erb ' + "#{folder}modules/event_news_mod/.")}
|
||||
Bundler.with_clean_env{system ('cp -f '+ app_path + '/modules/event_news_mod/show.html.erb ' + "#{folder}modules/event_news_mod/.")}
|
||||
update_event_news_template(folder)
|
||||
begin
|
||||
file_text = File.read(info_json_file) rescue ""
|
||||
|
|
Loading…
Reference in New Issue