resolved conflicts for merge of 5cc2e94f
to master
Change-Id: I7707603ae64fa3e4371fab2e81aab7ec37e69d33
This commit is contained in:
commit
50bab23178
25
envsetup.sh
25
envsetup.sh
|
@ -190,6 +190,29 @@ function settitle()
|
|||
fi
|
||||
}
|
||||
|
||||
function addcompletions()
|
||||
{
|
||||
local T dir f
|
||||
|
||||
# Keep us from trying to run in something that isn't bash.
|
||||
if [ -z "${BASH_VERSION}" ]; then
|
||||
return
|
||||
fi
|
||||
|
||||
# Keep us from trying to run in bash that's too old.
|
||||
if [ ${BASH_VERSINFO[0]} -lt 3 ]; then
|
||||
return
|
||||
fi
|
||||
|
||||
dir="sdk/bash_completion"
|
||||
if [ -d ${dir} ]; then
|
||||
for f in ${dir}/[a-z]*; do
|
||||
echo "including $f"
|
||||
. $f
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
function choosetype()
|
||||
{
|
||||
echo "Build type choices are:"
|
||||
|
@ -1046,3 +1069,5 @@ do
|
|||
. $f
|
||||
done
|
||||
unset f
|
||||
|
||||
addcompletions
|
||||
|
|
Loading…
Reference in New Issue