fix check for permissions (regression from #37)

This commit is contained in:
Dirk Thomas 2013-10-15 10:28:28 -07:00
parent 4b205461e3
commit b6b49a28b9
3 changed files with 3 additions and 3 deletions

View File

@ -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"
}

View File

@ -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 .*/.*$"
}

View File

@ -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