rbbt-util 5.26.112 → 5.26.113

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/rbbt/hpc.rb +3 -3
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8b990b62218a7a4ecdef7dff4fef3c0181961099e86caacb2ad83aee8b013f83
4
- data.tar.gz: 6cb4d558740c71f2aa7305d2c04ad4071f6db05e9f2e3ae905efe7ddcba22798
3
+ metadata.gz: 83f40258d1d38cb0d6634a6308493744a9a592d7d1b6959be3fc164e82336408
4
+ data.tar.gz: dca772b872b127233434d142720cdc4f05d32249fbb7c3480b6e97962b00b196
5
5
  SHA512:
6
- metadata.gz: c2e2992a49107f29b1b4d5767c1e25c68454ae039c5c844e3f26956b800ae9d7a97f36085ba27875816faabb08c14d89d23d2085e30dbfc296162eeeb682df00
7
- data.tar.gz: a938fa386799f84a73d4ec2d6677f90270f520e9a055247b21f2590c94501c4c6422c095bd33295fcbbe4cbf4a22f1c264be670b24032d49aca9c6649c78db50
6
+ metadata.gz: bff5962be51bf052a8fc04a1f6cd079008e58eea1c4c4edc3dee7055c75e080e044016c3a8d504d60815e2e955aca24fd1c97a077d4e0416f81ca659024aea77
7
+ data.tar.gz: d47aa8877cca49c7dca4e9489161ba7024bfc6cf5cb217c563def1cdafdbd66892f085fa26f696ef7436e4cd3bb6e3d4b3e8107dfb334389b1c4384806b7a988
data/lib/rbbt/hpc.rb CHANGED
@@ -301,7 +301,7 @@ EOF
301
301
 
302
302
  if contain && (wipe_container == "post" || wipe_container == "both")
303
303
  run =<<-EOF + run
304
- if $(ls -A '#{contain}'); then
304
+ if ls -A '#{contain}'; then
305
305
  echo "ERROR: Container directory not empty, refusing to wipe. #{contain}"
306
306
  fi
307
307
  EOF
@@ -319,10 +319,10 @@ EOF
319
319
  else
320
320
  coda +=<<-EOF
321
321
  #{exec_cmd} system clean
322
- if [ $sync_es == '0' ]; then
322
+ if [ $exit_status == '0' -a $sync_es == '0' ]; then
323
323
  rm -Rfv #{contain} &>> #{fsync}
324
324
  else
325
- echo "WARNING: Results could not sync correctly. Contain directory not purged"
325
+ echo "ERROR: Process failed or results could not sync correctly. Contain directory not purged"
326
326
  fi
327
327
  unset sync_es
328
328
  EOF
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbbt-util
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.26.112
4
+ version: 5.26.113
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miguel Vazquez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-09 00:00:00.000000000 Z
11
+ date: 2020-01-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake