File tree Expand file tree Collapse file tree 3 files changed +12
-5
lines changed
src/usr/local/containerbase/tools/v2 Expand file tree Collapse file tree 3 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -67,9 +67,6 @@ function link_tool () {
67
67
shell_wrapper " ${TOOL_NAME} " " ${versioned_tool_path} /bin"
68
68
shell_wrapper mix " ${versioned_tool_path} /bin"
69
69
70
- elixir --version
71
- mix --version
72
-
73
70
if [[ $( is_root) -eq 0 ]]; then
74
71
su -c ' mix local.hex --force' " ${USER_NAME} "
75
72
su -c ' mix local.rebar --force' " ${USER_NAME} "
@@ -80,3 +77,8 @@ function link_tool () {
80
77
81
78
# TODO: check rights of files and folder in ~/.mix and ~/.hex
82
79
}
80
+
81
+ function test_tool () {
82
+ elixir --version
83
+ mix --version
84
+ }
Original file line number Diff line number Diff line change @@ -97,5 +97,8 @@ function link_tool () {
97
97
# only works for v24+
98
98
# export_tool_env ERL_ROOTDIR "${versioned_tool_path}"
99
99
shell_wrapper erl " ${versioned_tool_path} /bin"
100
+ }
101
+
102
+ test_tool () {
100
103
erl -eval ' erlang:display(erlang:system_info(otp_release)), halt().' -noshell
101
104
}
Original file line number Diff line number Diff line change @@ -35,11 +35,13 @@ function install_tool () {
35
35
function link_tool () {
36
36
shell_wrapper " ${TOOL_NAME} " " $( find_versioned_tool_path) /bin"
37
37
38
- git lfs version
39
-
40
38
if [ " $( is_root) " -eq 0 ]; then
41
39
git lfs install --system
42
40
else
43
41
git lfs install
44
42
fi
45
43
}
44
+
45
+ test_tool () {
46
+ git lfs version
47
+ }
You can’t perform that action at this time.
0 commit comments