Skip to content

Commit cc87713

Browse files
chiarazampollialcaliva
authored andcommitted
Creating the tar from root files only if there is a JDL env var that tells to do so (#1758)
(cherry picked from commit c219b9a)
1 parent 41d9771 commit cc87713

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

MC/run/ANCHOR/anchorMC.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,9 @@ fi
280280
#
281281
if [[ -n "$ALIEN_PROC_ID" ]]; then
282282
find ./ \( -name "*.log*" -o -name "*mergerlog*" -o -name "*serverlog*" -o -name "*workerlog*" -o -name "pythia8.cfg" \) | tar -czvf debug_log_archive.tgz -T -
283-
find ./ \( -name "*.log*" -o -name "*mergerlog*" -o -name "*serverlog*" -o -name "*workerlog*" -o -name "*.root" \) | tar -czvf debug_full_archive.tgz -T -
283+
if [[ "$ALIEN_JDL_CREATE_TAR_IN_MC" == "1" ]]; then
284+
find ./ \( -name "*.log*" -o -name "*mergerlog*" -o -name "*serverlog*" -o -name "*workerlog*" -o -name "*.root" \) | tar -czvf debug_full_archive.tgz -T -
285+
fi
284286
fi
285287

286288
unset FAIRMQ_IPC_PREFIX

0 commit comments

Comments
 (0)