summaryrefslogtreecommitdiffstats
path: root/envsetup.sh
diff options
context:
space:
mode:
authorEmilio López <turl@tuxfamily.org>2013-11-03 13:02:13 -0300
committerAdnan Begovic <adnan@cyngn.com>2015-10-06 16:28:38 -0700
commit9ad6eeac5c1c29df126f179f140b9a1f3a5c441a (patch)
tree1454d33a1c828715dee464e28baac5d430fe2851 /envsetup.sh
parentbae92cb42d41f24431c17f69111ca6891542b954 (diff)
downloadbuild-9ad6eeac5c1c29df126f179f140b9a1f3a5c441a.zip
build-9ad6eeac5c1c29df126f179f140b9a1f3a5c441a.tar.gz
build-9ad6eeac5c1c29df126f179f140b9a1f3a5c441a.tar.bz2
envsetup: do not print an error if complete fails
complete is a bashism; so it will fail on other shells. Avoid printing an error if that is the case. Change-Id: Id6d6311792f409cc3a697c7a2bb003863f1afe60
Diffstat (limited to 'envsetup.sh')
-rw-r--r--envsetup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/envsetup.sh b/envsetup.sh
index 084518d..b36f86f 100644
--- a/envsetup.sh
+++ b/envsetup.sh
@@ -676,7 +676,7 @@ function _lunch()
COMPREPLY=( $(compgen -W "${LUNCH_MENU_CHOICES[*]}" -- ${cur}) )
return 0
}
-complete -F _lunch lunch
+complete -F _lunch lunch 2>/dev/null
# Configures the build to build unbundled apps.
# Run tapas with one or more app names (from LOCAL_PACKAGE_NAME)