fig2coreos 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/fig2coreos +6 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f87c74758c0107485803a7ae86a76bbb911c9d04
|
4
|
+
data.tar.gz: 33bb2f28e45ef8ade3ad9ca37d57b3539f16aeb4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 31b5964a6009a3d1a426cf8fbc03a682ee91a7a8b97b4cc42723d53383e28b0c54edb2c354ab5fbb0b4dd1e686411351c019781b70365a9bb1a749e1de7febf9
|
7
|
+
data.tar.gz: a27373fa6f860c9dad9b60a0528f962a81fb45157767c7beb8d53cea1524a8215ce409c08296c5c6075dd56a54c1fe261c146cced2e97b1b3126214dc4afaa65
|
data/bin/fig2coreos
CHANGED
@@ -25,10 +25,12 @@ if !File.file?(File.expand_path(ARGV[1].to_s))
|
|
25
25
|
exit -1
|
26
26
|
end
|
27
27
|
|
28
|
-
if !ARGV[2] || !File.directory?(File.expand_path(ARGV[2].to_s))
|
29
|
-
|
30
|
-
|
31
|
-
|
28
|
+
if !ARGV[2] || !File.directory?(File.expand_path(ARGV[2].to_s))
|
29
|
+
if !FileUtils.mkdir_p(File.join(ARGV[2].to_s, "media", "state", "units"))
|
30
|
+
puts "[ERROR] OUTPUT_DIRECTORY required"
|
31
|
+
puts FIG2COREOS_BANNER
|
32
|
+
exit -1
|
33
|
+
end
|
32
34
|
end
|
33
35
|
|
34
36
|
vagrant_version = `vagrant --version`.split.last
|