fix error of copy

This commit is contained in:
chiu 2020-02-17 22:29:39 +08:00
parent be6d143cc8
commit b1e158e7e8
1 changed files with 1 additions and 1 deletions

View File

@ -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