Remove apparently unused 'pez' function from envsetup.sh
Bug: 340648588
Test: treehugger, code search
Change-Id: I0a433b36c21a0bda4635463ab70f88d7ae40878c
diff --git a/envsetup.sh b/envsetup.sh
index d711b69..63e7eb1 100644
--- a/envsetup.sh
+++ b/envsetup.sh
@@ -1193,19 +1193,6 @@
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 overrideflags
unset owngrep
unset pathmod
+unset pez
unset pygrep
unset qpid
unset rcgrep