Skip to content

Commit

Permalink
fix check for permissions (regression from #37)
Browse files Browse the repository at this point in the history
  • Loading branch information
dirk-thomas committed Oct 15, 2013
1 parent 4b20546 commit b6b49a2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tools/rosbash/rosbash
Expand Up @@ -474,7 +474,7 @@ function _roscomplete_exe {
if [[ `uname` == Darwin ]]; then
perm="+111"
else
perm="-111"
perm="/111"
fi
_roscomplete_search_dir "-type f -perm $perm"
}
Expand Down
2 changes: 1 addition & 1 deletion tools/rosbash/roszsh
Expand Up @@ -326,7 +326,7 @@ function _roscomplete_exe {
if [[ `uname` == Darwin ]]; then
perm="+111"
else
perm="-111"
perm="/111"
fi
_roscomplete_search_dir "-type f -perm $perm -regex .*/.*$"
}
Expand Down
2 changes: 1 addition & 1 deletion tools/rosbash/scripts/rosrun
Expand Up @@ -35,7 +35,7 @@ if [[ ! $2 == */* ]]; then
if [[ `uname` == Darwin ]]; then
_perm="+111"
else
_perm="-111"
_perm="/111"
fi
exepathlist=(`find -L $catkin_package_libexec_dir $pkgdir -name $2 -type f -perm $_perm ! -regex ".*$pkgdir\/build\/.*" | uniq`)
unset _perm
Expand Down

0 comments on commit b6b49a2

Please sign in to comment.