X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/4727a3b6417bd254b3e8bca1bd19a77773493572..5f42faf0818c229196b26535a0669eeb2bf27386:/crunch_scripts/crunchrunner diff --git a/crunch_scripts/crunchrunner b/crunch_scripts/crunchrunner index f192c48772..25d3ba524c 100755 --- a/crunch_scripts/crunchrunner +++ b/crunch_scripts/crunchrunner @@ -1,2 +1,10 @@ #!/bin/sh -exec /usr/lib/crunchrunner/crunchrunner +# Copyright (C) The Arvados Authors. All rights reserved. +# +# SPDX-License-Identifier: Apache-2.0 + +if test -n "$JOB_PARAMETER_CRUNCHRUNNER" ; then + exec $TASK_KEEPMOUNT/$JOB_PARAMETER_CRUNCHRUNNER +else + exec /usr/local/bin/crunchrunner +fi