forked from openkylin/platform_build
am 62a2b188: Merge "Avoid complaining about empty directories"
* commit '62a2b1882fb95e960b5889b46fe8f669ddc7c8ac': Avoid complaining about empty directories
This commit is contained in:
commit
4880b43665
|
@ -200,7 +200,7 @@ function addcompletions()
|
||||||
|
|
||||||
dir="sdk/bash_completion"
|
dir="sdk/bash_completion"
|
||||||
if [ -d ${dir} ]; then
|
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"
|
echo "including $f"
|
||||||
. $f
|
. $f
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue