Skip to content

Commit 59191db

Browse files
committed
Check for LIBDIR
1 parent 2d94453 commit 59191db

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
@@ -26,5 +26,10 @@ 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+
2934
# Or filters the stdout with only HepMC2 useful data
3035
$EPOS4_ROOT/epos4/scripts/epos -hepstd -s $seed $optns | sed -n 's/^\(HepMC::\|[EAUWVP] \)/\1/p'

0 commit comments

Comments
 (0)