X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/19ae770973482257117fe8ded5619c3018c4b60f..86f72edb9b3bc75af47475bf83da07ce3ce86231:/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