itamae-plugin-recipe-anyenv 0.3.9 → 0.3.10
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/itamae/plugin/recipe/anyenv.rb +2 -1
- data/lib/itamae/plugin/recipe/anyenv/version.rb +1 -1
- 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: 3305642903c891aa4b72d0cdb5af7c9b02994a1a
|
|
4
|
+
data.tar.gz: b4c973d6d5d1711cbace21d24bcfe462914836fe
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e9185a85dd7ceb97845fb6b2b636abfcb8f5930d23a463eb1a84acff83ba80c756d40d24656d208b0570fa77ff444b954a650765493e3ea035c9d7e3fd6cae0b
|
|
7
|
+
data.tar.gz: 4cb621378d082a4e112001fbec58e409633e7fe4e6ee6d529b08a9eba30b638ab3e10e947ff464a5c3f89c69517da4c1a3a8bcd2c77d05e3f44b8cd3f206846e
|
|
@@ -50,7 +50,7 @@ def anyenv_init(root_path)
|
|
|
50
50
|
<<-"EOS".gsub("\n", ' ')
|
|
51
51
|
export ANYENV_ROOT=#{root_path};
|
|
52
52
|
export PATH=#{root_path}/bin:${PATH};
|
|
53
|
-
eval $(anyenv init -);
|
|
53
|
+
eval "$(anyenv init -)";
|
|
54
54
|
EOS
|
|
55
55
|
end
|
|
56
56
|
|
|
@@ -90,6 +90,7 @@ def install_envs(attributes)
|
|
|
90
90
|
end
|
|
91
91
|
|
|
92
92
|
def install_env(envname)
|
|
93
|
+
execute 'eval "$(anyenv init -)"'
|
|
93
94
|
execute "install #{envname}" do
|
|
94
95
|
user @username if @username
|
|
95
96
|
command "#{@init_cmd} yes | anyenv install #{envname};"
|