X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/e8e78685ed7d893433e1ebe799a66084e39a0345..0eb72b526bf8bbb011551ecf019f604e17a534f1:/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