Skip to content

Commit

Permalink
fix roslaunch completion if path contains white spaces (fix ros/ros_c…
Browse files Browse the repository at this point in the history
  • Loading branch information
dirk-thomas committed Aug 31, 2015
1 parent c3825b4 commit 68fb308
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/rosbash/rosbash
Expand Up @@ -439,7 +439,7 @@ function _roscomplete_find {
fi
pkgdir=`_ros_package_find ${pkg}`
if [[ -n "$catkin_package_libexec_dir" || -n "$pkgdir" ]]; then
opts=`_rosfind -L $catkin_package_libexec_dir $pkgdir ${1} ! -regex ".*/[.].*" ! -regex ".*$pkgdir\/build\/.*" -print0 | tr '\000' '\n' | sed -e "s/.*\/\(.*\)/\1/g"`
opts=`_rosfind -L $catkin_package_libexec_dir "$pkgdir" ${1} ! -regex ".*/[.].*" ! -regex ".*$pkgdir\/build\/.*" -print0 | tr '\000' '\n' | sed -e "s/.*\/\(.*\)/\1/g"`
else
opts=""
fi
Expand Down

0 comments on commit 68fb308

Please sign in to comment.