We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28961cf commit d9d4048Copy full SHA for d9d4048
installer/tue-install-impl.bash
@@ -181,10 +181,15 @@ function tue-install-rosdep
181
182
# Check if target can be resolved by rosdep
183
tue-install-debug "rosdep resolve $target"
184
- local rosdep_res rosdep_return_code
+ local rosdep_res
185
+ local rosdep_return_code
186
rosdep_res=$(rosdep resolve "$target" 2>&1)
187
rosdep_return_code=$?
- read -r -a rosdep_res <<< rosdep_res
188
+
189
+ local IFS=$'\n'
190
+ mapfile -t rosdep_res <<< "$rosdep_res"
191
+ unset IFS
192
193
if [ $rosdep_return_code -eq 0 ]
194
then
195
tue-install-debug "rosdep correctly resolved to: ${rosdep_res[*]}"
0 commit comments