@@ -105,29 +105,30 @@ else
105
105
echo " toolbox_install_error{module='artifacts'} 1" >> /tmp/toolbox_metrics
106
106
fi
107
107
108
+ if [[ ` uname` != " Darwin" ]]; then
108
109
109
- echo " Installing the artifacts CLI"
110
- install_cmd mv ~ /.toolbox/spc $INSTALL_PATH /spc
111
- install_cmd chmod +x $INSTALL_PATH /spc
112
- if [[ $? -eq 0 ]]; then
113
- echo " spc installed"
114
- else
115
- echo " toolbox_install_error{module='spc'} 1" >> /tmp/toolbox_metrics
116
- fi
117
-
118
- echo " Installing the when CLI"
119
- install_cmd mv ~ /.toolbox/when $INSTALL_PATH /when
120
- install_cmd chmod +x $INSTALL_PATH /when
121
- if [[ $? -eq 0 ]]; then
122
- echo " when installed"
123
- else
124
- echo " toolbox_install_error{module='when'} 1" >> /tmp/toolbox_metrics
125
- fi
110
+ echo " Installing the SPC CLI"
111
+ install_cmd mv ~ /.toolbox/spc $INSTALL_PATH /spc
112
+ install_cmd chmod +x $INSTALL_PATH /spc
113
+ if [[ $? -eq 0 ]]; then
114
+ echo " spc installed"
115
+ else
116
+ echo " toolbox_install_error{module='spc'} 1" >> /tmp/toolbox_metrics
117
+ fi
126
118
119
+ echo " Installing the when CLI"
120
+ install_cmd mv ~ /.toolbox/when $INSTALL_PATH /when
121
+ install_cmd chmod +x $INSTALL_PATH /when
122
+ if [[ $? -eq 0 ]]; then
123
+ echo " when installed"
124
+ else
125
+ echo " toolbox_install_error{module='when'} 1" >> /tmp/toolbox_metrics
126
+ fi
127
127
128
- if [[ ` uname` != " Darwin" ]]; then
129
128
echo " Starting to collect System Metrics in /tmp/system-metrics"
130
- sh ~ /.toolbox/system-metrics-collector & # failure won't be propagated to the caller in case of using &
129
+
130
+ # failure won't be propagated to the caller in case of using &
131
+ sh ~ /.toolbox/system-metrics-collector &
131
132
fi
132
133
133
134
echo " toolbox_install_total 1" >> /tmp/toolbox_metrics
0 commit comments