Skip to content

Commit 91ec981

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 24cdc4f commit 91ec981

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
@@ -281,7 +281,9 @@ fi
281281
#
282282
if [[ -n "$ALIEN_PROC_ID" ]]; then
283283
find ./ \( -name "*.log*" -o -name "*mergerlog*" -o -name "*serverlog*" -o -name "*workerlog*" -o -name "pythia8.cfg" \) | tar -czvf debug_log_archive.tgz -T -
284-
find ./ \( -name "*.log*" -o -name "*mergerlog*" -o -name "*serverlog*" -o -name "*workerlog*" -o -name "*.root" \) | tar -czvf debug_full_archive.tgz -T -
284+
if [[ "$ALIEN_JDL_CREATE_TAR_IN_MC" == "1" ]]; then
285+
find ./ \( -name "*.log*" -o -name "*mergerlog*" -o -name "*serverlog*" -o -name "*workerlog*" -o -name "*.root" \) | tar -czvf debug_full_archive.tgz -T -
286+
fi
285287
fi
286288

287289
unset FAIRMQ_IPC_PREFIX

0 commit comments

Comments
 (0)