X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/252a5f7f290567f7cbcc9897a879c0a7ebe64e90..b4eff2bc2af25e3629100f45f7af77ec13f8ab57:/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