[ARVADOS] updated: a3f2cb186e437bfce0031b024b2157b73ed2717d
Git user
git at public.curoverse.com
Tue Mar 29 21:11:13 EDT 2016
Summary of changes:
crunch_scripts/crunchrunner | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
via a3f2cb186e437bfce0031b024b2157b73ed2717d (commit)
from dbafab756158fa8bbd374a9938f0f4cb21e02818 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit a3f2cb186e437bfce0031b024b2157b73ed2717d
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date: Tue Mar 29 21:11:06 2016 -0400
crunchrunner crunch script selects between $JOB_PARAMETER_CRUNCHRUNNER
or /usr/local/bin/crunchrunner, refs #8827
diff --git a/crunch_scripts/crunchrunner b/crunch_scripts/crunchrunner
index 02b00e4..9e8832b 100755
--- a/crunch_scripts/crunchrunner
+++ b/crunch_scripts/crunchrunner
@@ -1,2 +1,7 @@
#!/bin/sh
-exec /usr/local/bin/crunchrunner
+
+if test -n "$JOB_PARAMETER_CRUNCHRUNNER" ; then
+ exec $TASK_KEEPMOUNT/$JOB_PARAMETER_CRUNCHRUNNER
+else
+ exec /usr/local/bin/crunchrunner
+fi
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list