Merge "Avoid complaining about empty directories"

This commit is contained in:
Kenny Root
2011-07-18 13:41:25 -07:00
committed by Android Code Review

View File

@@ -197,7 +197,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