rbbt-util 5.26.106 → 5.26.108
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rbbt/hpc.rb +6 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 72aacfdd57c5f982b528190df5f4290b6a0ef60e7e92e615dfdd357c16fbc953
|
4
|
+
data.tar.gz: f8a2bc9d3ad668b79e4704fffcc41a07697c76778432712070dded9046b25d6b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6833cc84f92783ed1cfe7fcb28a523f69e39471489e4365f40e40a4741d34063873afc9ef03b3ea40c53d3cd8ae236c1ece74368a6649bc2927ffd56b914983e
|
7
|
+
data.tar.gz: 1e689bc7ce9ccc050b8941b4c7ae26c875e66b0fc7ff82e0494d74b79580822b41c28187a98ef12832074afc3ea9d90dd0f0f8f1a2a0cc2b39ea6708990fea05
|
data/lib/rbbt/hpc.rb
CHANGED
@@ -290,6 +290,7 @@ EOF
|
|
290
290
|
|
291
291
|
target = File.expand_path(sync)
|
292
292
|
coda +=<<-EOF
|
293
|
+
mkdir -p "$(dirname '#{target}')"
|
293
294
|
rsync -avztAXHP --copy-unsafe-links "#{source}/" "#{target}/" &>> #{fsync}
|
294
295
|
sync_es="$?"
|
295
296
|
find '#{target}' -type l -ls | awk '$13 ~ /^#{target.gsub('/','\/')}/ { sub("#{source}", "#{target}", $13); print $11, $13 }' | while read A B; do rm $A; ln -s $B $A; done
|
@@ -331,7 +332,11 @@ EOF
|
|
331
332
|
|
332
333
|
# Write exit status to file
|
333
334
|
echo $exit_status > #{fexit}
|
334
|
-
|
335
|
+
if [ $sync_es == '0' ]; then
|
336
|
+
exit $exit_status
|
337
|
+
else
|
338
|
+
exit $sync_es
|
339
|
+
fi
|
335
340
|
EOF
|
336
341
|
|
337
342
|
template = [header, env, run, coda] * "\n"
|
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.
|
4
|
+
version: 5.26.108
|
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-
|
11
|
+
date: 2020-01-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|