[ARVADOS] updated: 1ea3251891770887654a3d9ae68f5f1cf7f1d689

git at public.curoverse.com git at public.curoverse.com
Wed Jan 7 14:49:56 EST 2015


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

       via  1ea3251891770887654a3d9ae68f5f1cf7f1d689 (commit)
      from  f15b218327029a379264db6997a85b2d2835088a (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 1ea3251891770887654a3d9ae68f5f1cf7f1d689
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date:   Wed Jan 7 14:51:16 2015 -0500

    4312: Call virtualenv pip directly instead of using activate.

diff --git a/sdk/cli/bin/crunch-job b/sdk/cli/bin/crunch-job
index 21ee2d7..4cd4182 100755
--- a/sdk/cli/bin/crunch-job
+++ b/sdk/cli/bin/crunch-job
@@ -1854,7 +1854,7 @@ if (@ARGV) {
   my $pkgs;
   if ($venv_built) {
     $Log->("Running in Python SDK virtualenv");
-    $pkgs = `. \Q$venv_dir/bin/activate\E && ((pip freeze 2>/dev/null | grep arvados) || dpkg --show '*arvados*')`;
+    $pkgs = `((\Q$venv_dir/bin/pip\E freeze 2>/dev/null | grep arvados) || dpkg --show '*arvados*')`;
     my $orig_argv = join(" ", map { quotemeta($_); } @ARGV);
     @ARGV = ("/bin/sh", "-ec",
              ". \Q$venv_dir/bin/activate\E; exec $orig_argv");

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list