am 4880b436: am 62a2b188: Merge "Avoid complaining about empty directories"

* commit '4880b436656d7cfd00bb82ebde1b408e0bd19bda':
  Avoid complaining about empty directories
This commit is contained in:
Kenny Root 2011-07-18 13:47:16 -07:00 committed by Android Git Automerger
commit 1708a6f74b

View File

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