DOMjudge / domjudge

DOMjudge programming contest jury system
https://www.domjudge.org
GNU General Public License v2.0
739 stars 258 forks source link

runguard: Allow passing `-V` multiple times. #2804

Closed meisterT closed 1 week ago

meisterT commented 1 week ago

The previous behavior was that the last arg wins. IMHO, this is confusing and we even fell into this trap ourselves in https://github.com/DOMjudge/domjudge/blame/main/judge/compile.sh#L145 where we would shadow any previously passed env var (such as the entry point).