Skip to content
Snippets Groups Projects
Commit 0237ad44 authored by Matthew K Defenderfer's avatar Matthew K Defenderfer
Browse files

remove x from log file

parent 2fedd315
5 merge requests!24Release v0.2.0,!22Update main to rel_v0.1.1-1,!21Fix some merge errors,!20Refactoring run-mmpol scripts,!19BUGFIX: Change ownership to executing USER and group to atlab. Also automatically gzip the log output
...@@ -133,7 +133,7 @@ if [[ ! ${dry_run} ]]; then ...@@ -133,7 +133,7 @@ if [[ ! ${dry_run} ]]; then
raw_log_file=$(find ${outdir} -maxdepth 1 -name "list-${SLURM_JOBID}*" -type f | head -1) raw_log_file=$(find ${outdir} -maxdepth 1 -name "list-${SLURM_JOBID}*" -type f | head -1)
if [[ "$raw_log_file" != "" ]]; then if [[ "$raw_log_file" != "" ]]; then
mv -n ${raw_log_file} ${log_dir}/${log_name} mv -n ${raw_log_file} ${log_dir}/${log_name}
chmod 550 ${log_dir}/${log_name} chmod 440 ${log_dir}/${log_name}
gzip ${log_dir}/${log_name} gzip ${log_dir}/${log_name}
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment