Skip to content

Commit 99ed586

Browse files
committed
Reorganised and improved fix for CI
1 parent c456c34 commit 99ed586

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

MC/config/examples/epos4/epos.sh

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,15 @@ if [ $seed -eq 0 ]; then
2626
seed=$RANDOM
2727
fi
2828

29-
# Check if the environment variable LIBDIR is set (important with o2dpg-sim-tests on CI machines)
30-
if [ -z "${LIBDIR}" ]; then
31-
export LIBDIR=$EPOS4_ROOT/epos4/bin
32-
fi
33-
34-
# Check if the environment variable EPO4 is set (important with o2dpg-sim-tests on CI machines)
35-
# If not, set all the EPOS4 related variables, most likely they are set wrongly as well.
29+
# Check if the environment variable EPO4 is set (mandatory with o2dpg-sim-tests on CI machines)
30+
# If not, set all the EPOS4 related variables, most likely they are unset as well.
3631
if [ -z "${EPO4}" ]; then
3732
export EPO4=$EPOS4_ROOT/epos4/
33+
export LIBDIR=$EPOS4_ROOT/epos4/bin
3834
export EPO4VSN=4.0.0
35+
export OPT=./
36+
export HTO=./
37+
export CHK=./
3938
fi
4039

4140
# Or filters the stdout with only HepMC2 useful data

0 commit comments

Comments
 (0)