* commit '4880b436656d7cfd00bb82ebde1b408e0bd19bda': Avoid complaining about empty directories
This commit is contained in:
commit
1708a6f74b
@ -200,7 +200,7 @@ function addcompletions()
|
||||
|
||||
dir="sdk/bash_completion"
|
||||
if [ -d ${dir} ]; then
|
||||
for f in ${dir}/[a-z]*.bash; do
|
||||
for f in `/bin/ls ${dir}/[a-z]*.bash 2> /dev/null`; do
|
||||
echo "including $f"
|
||||
. $f
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user