Merge branch '8784-dir-listings'
[arvados.git] / crunch_scripts / crunchrunner
index 71c10c9b3613bae0c98540c631bd575d7324a0f2..25d3ba524cb275a7b3ae1839d08503355b7f4e55 100755 (executable)
@@ -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