From b1e158e7e8366626412cbe44f71b91918fac5f6e Mon Sep 17 00:00:00 2001 From: chiu Date: Mon, 17 Feb 2020 22:29:39 +0800 Subject: [PATCH] fix error of copy --- announcement.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/announcement.gemspec b/announcement.gemspec index a67058c..ef8a5c3 100644 --- a/announcement.gemspec +++ b/announcement.gemspec @@ -61,7 +61,7 @@ if old_gemfile_text != new_gemfile_text # file.write new_multithread #end end - command4 = "cp -rf #{app_path}/temp_file/app #{env_pwd}/app" + command4 = "cp -rf #{app_path}/temp_file/app #{env_pwd}" log_development = File.mtime(env_pwd+'/log/development.log').strftime('%Y%m%d%H%M').to_i rescue 0 log_production = File.mtime(env_pwd+'/log/production.log').strftime('%Y%m%d%H%M').to_i rescue 0 if log_development > log_production