[ARVADOS] updated: 638c2c2258e7004f9a86277588d50f1243a297c8

git at public.curoverse.com git at public.curoverse.com
Thu Aug 28 11:06:54 EDT 2014


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

       via  638c2c2258e7004f9a86277588d50f1243a297c8 (commit)
      from  d1f510e7fa9f1b2656c54c1e9b3ea4e4466c9d1e (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 638c2c2258e7004f9a86277588d50f1243a297c8
Author: Tom Clegg <tom at curoverse.com>
Date:   Thu Aug 28 11:06:38 2014 -0400

    Run given command even if src tree already installed. No issue #

diff --git a/sdk/cli/bin/crunch-job b/sdk/cli/bin/crunch-job
index 9e7454f..4d2aad9 100755
--- a/sdk/cli/bin/crunch-job
+++ b/sdk/cli/bin/crunch-job
@@ -1493,6 +1493,7 @@ for my $dir ($destdir, $task_work) {
 open L, ">", "$destdir.lock" or die "$destdir.lock: $!";
 flock L, LOCK_EX;
 if (readlink ("$destdir.commit") eq $commit && -d $destdir) {
+    exec(@ARGV) if @ARGV;
     exit 0;
 }
 

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list