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 55ea991 commit ccdb9a6Copy full SHA for ccdb9a6
installer/tue-install-impl.bash
@@ -276,10 +276,15 @@ function tue-install-rosdep
276
277
# Check if target can be resolved by rosdep
278
tue-install-debug "rosdep resolve $target"
279
- local rosdep_res rosdep_return_code
+ local rosdep_res
280
+ local rosdep_return_code
281
rosdep_res=$(rosdep resolve "$target" 2>&1)
282
rosdep_return_code=$?
- read -r -a rosdep_res <<< rosdep_res
283
+
284
+ local IFS=$'\n'
285
+ mapfile -t rosdep_res <<< "$rosdep_res"
286
+ unset IFS
287
288
if [ $rosdep_return_code -eq 0 ]
289
then
290
tue-install-debug "rosdep correctly resolved to: ${rosdep_res[*]}"
0 commit comments