Remove apparently unused 'pez' function from envsetup.sh am: ff277c5412 am: e5a3740024

Original change: https://android-review.googlesource.com/c/platform/build/+/3103320

Change-Id: I0bcf4c7d3dd756aaf08ea4860880bf96d1ac5e67
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Joe Onorato 2024-05-29 21:53:26 +00:00 committed by Automerger Merge Worker
commit d5da4c8df2

View file

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