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.
- checksums.yaml +4 -4
- data/lib/rbbt/hpc.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 269803d5c33cd85715510ae4688390ecac0ba1108a05a56f547819cc5336bac2
|
|
4
|
+
data.tar.gz: 317ce8062c27d862f864d8bef75aafa466e67a80b73aca5562d1350eaa2987a5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 711d64005b450ab3bf4ce0bbfa5148d916421292a00dd89ac48b59d038060fa61a5b42033d728b87585f25738b5ea97fa7675e895ab2d80f563ec392485c8ff0
|
|
7
|
+
data.tar.gz: 87df2756c51f364c7a165501fa2e793c482edf729cd09671349f6a80c933d27cc430a81161fb3686be465b822218d966dc222e73dfa150347aa89d273db4b16c
|
data/lib/rbbt/hpc.rb
CHANGED
|
@@ -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}'
|
|
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
|