resolved conflicts for merge of 5cc2e94f to master

Change-Id: I7707603ae64fa3e4371fab2e81aab7ec37e69d33
This commit is contained in:
Kenny Root 2011-07-15 15:14:51 -07:00
commit 50bab23178
1 changed files with 25 additions and 0 deletions

View File

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