rbbt-util 5.26.114 → 5.26.115

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/rbbt/hpc.rb +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4f667fc42ef878fae10593c1ce3120644484bcd780f9992feac6d8f62eb20450
4
- data.tar.gz: 5090c55a43b7487b2978d55f753ed79dc6d0dc389ccf915fdf0583e084ea4ea7
3
+ metadata.gz: 269803d5c33cd85715510ae4688390ecac0ba1108a05a56f547819cc5336bac2
4
+ data.tar.gz: 317ce8062c27d862f864d8bef75aafa466e67a80b73aca5562d1350eaa2987a5
5
5
  SHA512:
6
- metadata.gz: bc8909d45725ca94c35ddf01a635fc92810f9cb90238045c0ba0bb9ead8a8937f5ab09b6c0a5cf7a87e42ec173ba5fb037035964d5ba4568e4259975a2f8832d
7
- data.tar.gz: 20b90ae10e1012b768ad6c3127a52e3a0c8686ae9f97d3232e0294baadeedf73022a76c0e413921d9ddd2a8400f3141925773c16a4fd2ad0acfa46380bdad378
6
+ metadata.gz: 711d64005b450ab3bf4ce0bbfa5148d916421292a00dd89ac48b59d038060fa61a5b42033d728b87585f25738b5ea97fa7675e895ab2d80f563ec392485c8ff0
7
+ data.tar.gz: 87df2756c51f364c7a165501fa2e793c482edf729cd09671349f6a80c933d27cc430a81161fb3686be465b822218d966dc222e73dfa150347aa89d273db4b16c
@@ -303,7 +303,7 @@ EOF
303
303
 
304
304
  if contain && (wipe_container == "post" || wipe_container == "both")
305
305
  prep =<<-EOF + prep
306
- if ls -A '#{contain}' > /dev/null ; then
306
+ if ls -A '#{contain}' &> /dev/null ; then
307
307
  echo "ERROR: Container directory not empty, refusing to wipe. #{contain}"
308
308
  fi
309
309
  EOF
@@ -311,7 +311,7 @@ fi
311
311
  coda +=<<-EOF
312
312
  singularity exec -e -C -H "$CONTAINER_DIR" "$SINGULARITY_IMG" rbbt system clean -f &>> #{fsync}
313
313
  singularity exec -e -C -H "$CONTAINER_DIR" "$SINGULARITY_IMG" rm -v /dev/shm/sem.*.{in,out,process} /dev/shm/sem.Session-PID.*.sem 2> /dev/null >> #{fsync}
314
- if [ $sync_es == '0' ]; then
314
+ if [ $exit_status == '0' -a $sync_es == '0' ]; then
315
315
  singularity exec -e -C -H "$CONTAINER_DIR" "$SINGULARITY_IMG" rm -Rfv .rbbt/var/jobs &>> #{fsync}
316
316
  singularity exec -e -C -H "$CONTAINER_DIR" "$SINGULARITY_IMG" rm -Rfv tmp/ &>> #{fsync}
317
317
  else
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbbt-util
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.26.114
4
+ version: 5.26.115
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miguel Vazquez