[ARVADOS] updated: 38d8d205385181811235502dbad7c6e27fcea2a7

git at public.curoverse.com git at public.curoverse.com
Thu Oct 22 15:06:19 EDT 2015


Summary of changes:
 sdk/cli/bin/crunch-job | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

       via  38d8d205385181811235502dbad7c6e27fcea2a7 (commit)
      from  dc3915c4eafa0e7c69278de5df659b2b4338f2d2 (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 38d8d205385181811235502dbad7c6e27fcea2a7
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date:   Thu Oct 22 15:05:11 2015 -0400

    7582: Don't call stdbuf in minimal run mode.

diff --git a/sdk/cli/bin/crunch-job b/sdk/cli/bin/crunch-job
index 224ff8e..8167eda 100755
--- a/sdk/cli/bin/crunch-job
+++ b/sdk/cli/bin/crunch-job
@@ -953,9 +953,9 @@ for (my $todo_ptr = 0; $todo_ptr <= $#jobstep_todo; $todo_ptr ++)
       }
       $command .= "--env=\QHOME=$ENV{HOME}\E ";
       $command .= "\Q$docker_hash\E ";
-      $command .= "stdbuf --output=0 --error=0 ";
 
       if ($Job->{arvados_sdk_version}) {
+        $command .= "stdbuf --output=0 --error=0 ";
         $command .= "perl - \Q$ENV{CRUNCH_SRC}/crunch_scripts/$Job->{script}\E";
       } else {
         $command .= "/bin/sh -c \'mkdir -p \"$ENV{JOB_WORK}\" \"$ENV{TASK_WORK}\" && exec \Q$ENV{CRUNCH_SRC}/crunch_scripts/$Job->{script}\E\'";

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list