diff options
author | 2024-05-23 12:52:07 -0700 | |
---|---|---|
committer | 2024-05-24 14:37:51 -0700 | |
commit | ff277c54129d90c53877eebb94a88bf683de031e (patch) | |
tree | f37ed730e231f8766ec1b3f0d1b2855b1a35d776 /envsetup.sh | |
parent | 6b543839b14f7b5641e13203a250749a45ecc6f9 (diff) |
Remove apparently unused 'pez' function from envsetup.sh
Bug: 340648588
Test: treehugger, code search
Change-Id: I0a433b36c21a0bda4635463ab70f88d7ae40878c
Diffstat (limited to 'envsetup.sh')
-rw-r--r-- | envsetup.sh | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/envsetup.sh b/envsetup.sh index d711b69634..63e7eb1720 100644 --- a/envsetup.sh +++ b/envsetup.sh @@ -1193,19 +1193,6 @@ function _complete_android_module_names() { COMPREPLY=( $(allmod | grep -E "^$word") ) } -# Print colored exit condition -function pez { - "$@" - local retval=$? - if [ $retval -ne 0 ] - then - echo $'\E'"[0;31mFAILURE\e[00m" - else - echo $'\E'"[0;32mSUCCESS\e[00m" - fi - return $retval -} - function get_make_command() { # If we're in the top of an Android tree, use soong_ui.bash instead of make @@ -1345,6 +1332,7 @@ unset outmod unset overrideflags unset owngrep unset pathmod +unset pez unset pygrep unset qpid unset rcgrep |