Commit 229c17a1 authored by Simon Braß's avatar Simon Braß
Browse files

Fix expansion of $@ appropriately

parent 132cdd03
Pipeline #9769 failed with stage
in 17 minutes and 15 seconds
......@@ -572,12 +572,12 @@ function main() {
if test $# -eq 0 || test "$@" == ""; then
local modes=(autotools ocaml hepmc2 hepmc3 lhapdf fastjet pythia8 openloops bin whizard)
else
local modes=("${@}")
local modes=(${@})
fi
# Build chain: FastJet, HepMC and LHAPDF6 → Pythia8 → ROOT → Delphes, HepMC3
for mode in "${modes[@]}"; do
for mode in ${modes[@]}; do
case $mode in
autotools)
(command -v make >/dev/null 2>&1 && test "${FORCE}" != "True") || make_and_log "make" "${url_make}"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment