forked from openkylin/platform_build
am 3146eb76: am 1708a6f7: am 4880b436: am 62a2b188: Merge "Avoid complaining about empty directories"
* commit '3146eb76cf193ce95f0f88a477b1c708a1b5cf9b': Avoid complaining about empty directories
This commit is contained in:
commit
bf8cf79f60
|
@ -206,7 +206,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