Skip to content

Commit 5107c3e

Browse files
committed
Added EPO4 as env variable in external script
1 parent 59191db commit 5107c3e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

MC/config/examples/epos4/epos.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,10 @@ if [ -z "${LIBDIR}" ]; then
3131
export LIBDIR=$EPOS4_ROOT/epos4/bin
3232
fi
3333

34+
# Check if the environment variable EPO4 is set (important with o2dpg-sim-tests on CI machines)
35+
if [ -z "${EPO4}" ]; then
36+
export EPO4=$EPOS4_ROOT/epos4/
37+
fi
38+
3439
# Or filters the stdout with only HepMC2 useful data
3540
$EPOS4_ROOT/epos4/scripts/epos -hepstd -s $seed $optns | sed -n 's/^\(HepMC::\|[EAUWVP] \)/\1/p'

0 commit comments

Comments
 (0)