OSDN Git Service
(root)
/
android-x86
/
build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0d08eb
)
Fixed whitespace and env pollution issues in pez
author
Michael Wright
<michaelwr@google.com>
Sat, 9 Mar 2013 01:34:02 +0000
(17:34 -0800)
committer
Michael Wright
<michaelwr@google.com>
Sat, 9 Mar 2013 01:34:02 +0000
(17:34 -0800)
Change-Id: I40574d6cdab31e920535c09d24fe8463aee57586
envsetup.sh
patch
|
blob
|
history
diff --git
a/envsetup.sh
b/envsetup.sh
index
0ab15ae
..
15ce152
100644
(file)
--- a/
envsetup.sh
+++ b/
envsetup.sh
@@
-1238,15
+1238,15
@@
function set_java_home() {
# Print colored exit condition
function pez {
- $@
-
retval=$?
-
if [ $retval -ne 0 ]
-
then
-
echo -e "\e[0;31mFAILURE\e[00m"
-
else
-
echo -e "\e[0;32mSUCCESS\e[00m"
-
fi
-
return $retval
+ "$@"
+
local
retval=$?
+ if [ $retval -ne 0 ]
+ then
+ echo -e "\e[0;31mFAILURE\e[00m"
+ else
+ echo -e "\e[0;32mSUCCESS\e[00m"
+ fi
+ return $retval
}
if [ "x$SHELL" != "x/bin/bash" ]; then