[arvados] updated: 2.1.0-3009-gf6c774100

git repository hosting git at public.arvados.org
Tue Nov 1 17:30:47 UTC 2022


Summary of changes:
 tools/arvbox/lib/arvbox/docker/common.sh | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

       via  f6c7741002f3855663bf9ac4aef4cbf86f3b5d51 (commit)
      from  3070a6df84012867058b93c3941eb7feec353cc5 (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 f6c7741002f3855663bf9ac4aef4cbf86f3b5d51
Author: Lucas Di Pentima <lucas.dipentima at curii.com>
Date:   Tue Nov 1 14:30:14 2022 -0300

    19683: Improves code style.
    
    Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima at curii.com>

diff --git a/tools/arvbox/lib/arvbox/docker/common.sh b/tools/arvbox/lib/arvbox/docker/common.sh
index 5db94aa5e..80fb3fa82 100644
--- a/tools/arvbox/lib/arvbox/docker/common.sh
+++ b/tools/arvbox/lib/arvbox/docker/common.sh
@@ -75,10 +75,9 @@ run_bundler() {
 	BUNDLER=$PWD/bin/bundle
     fi
 
-    if test "$(flock $GEMLOCK /var/lib/arvados/bin/gem list | grep arvados | grep dev | wc -l)" = "0" ; then
-        cd /usr/src/arvados/sdk/ruby
-        /var/lib/arvados/bin/gem build arvados.gemspec && flock $GEMLOCK /var/lib/arvados/bin/gem install `ls -1 *.gem | sort -r | head -n1`
-        cd -
+    if test -z "$(flock $GEMLOCK /var/lib/arvados/bin/gem list | grep arvados | grep dev)" ; then
+        (cd /usr/src/arvados/sdk/ruby && \
+        /var/lib/arvados/bin/gem build arvados.gemspec && flock $GEMLOCK /var/lib/arvados/bin/gem install `ls -1 *.gem | sort -r | head -n1`)
     fi
     if ! flock $GEMLOCK $BUNDLER install --verbose --local --no-deployment $frozen "$@" ; then
         flock $GEMLOCK $BUNDLER install --verbose --no-deployment $frozen "$@"

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list