rbbt-util 5.26.80 → 5.26.81
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/share/rbbt_commands/migrate +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: 1475ddc755e69f8ef8b3cdf626c72dfce423dd5f166fd0067e0bbc77d3a67e98
|
4
|
+
data.tar.gz: e5536d6a4cab451bfdc9fb4127ba594cc0bd40be100deb6912b6b4020bb06ef4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 15f691a27a31afbe4e6a13474ba0008ccdabddb5cd841269f460909da9e8fcb2a25641f1c6015feada6a2388ec98391741552b1214e64c803d41383307f5dfe3
|
7
|
+
data.tar.gz: 2d242e123197d43685edccb127f059f63336c89b64752021caf3ab604134273d79e6805be705cdafc6d84ff5e1802300ac27ac669c905f2c417b86807302698c
|
data/share/rbbt_commands/migrate
CHANGED
@@ -50,7 +50,7 @@ if File.exists?(path)
|
|
50
50
|
else
|
51
51
|
path = Path.setup(path)
|
52
52
|
end
|
53
|
-
puts path.glob_all * "\n"
|
53
|
+
puts path.glob_all.collect{|p| File.directory?(p) ? p + "/" : p } * "\n"
|
54
54
|
EOF
|
55
55
|
[path, paths.collect{|p| [options[:source], p] * ":"}]
|
56
56
|
else
|
@@ -77,7 +77,7 @@ puts resource[path].find(search_path)
|
|
77
77
|
real_paths.each do |source|
|
78
78
|
|
79
79
|
|
80
|
-
if File.directory?(source)
|
80
|
+
if File.directory?(source) || source =~ /\/$/
|
81
81
|
source += "/" unless source[-1] == "/"
|
82
82
|
target += "/" unless target[-1] == "/"
|
83
83
|
end
|