11167: Refactored tests to use new helper function.
[arvados.git] / crunch_scripts / crunchrunner
1 #!/bin/sh
2 # Copyright (C) The Arvados Authors. All rights reserved.
3 #
4 # SPDX-License-Identifier: Apache-2.0
5
6 if test -n "$JOB_PARAMETER_CRUNCHRUNNER" ; then
7     exec $TASK_KEEPMOUNT/$JOB_PARAMETER_CRUNCHRUNNER
8 else
9     exec /usr/local/bin/crunchrunner
10 fi