X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/8b72e31d7cf0131d672bbb7ef6a5e1cb5ca834ec..8ba20b331fc99252acc29161902017ab98c6a979:/crunch_scripts/crunchrunner diff --git a/crunch_scripts/crunchrunner b/crunch_scripts/crunchrunner index 71c10c9b36..25d3ba524c 100755 --- a/crunch_scripts/crunchrunner +++ b/crunch_scripts/crunchrunner @@ -1,2 +1,10 @@ #!/bin/sh -exec $TASK_KEEPMOUNT/$JOB_PARAMETER_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