aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/bootstrap/buildenv.sh
diff options
context:
space:
mode:
authorGravatar Damien Martin-Guillerez <dmarting@google.com>2015-06-11 05:37:26 +0000
committerGravatar Lukacs Berki <lberki@google.com>2015-06-11 10:38:06 +0000
commit580cd692ead8e466c74255f26d9f860c0135f191 (patch)
tree90c77ea577a1e44291aeccb6e313aa51f5143f07 /scripts/bootstrap/buildenv.sh
parentcae0a64a074b924e8882d4d79e12ed7be1b89bef (diff)
Fix order of redirection in compile.sh
This avoid having garbage warning when compiling Java code because we use the internal API of Javac. Also add a run_silent around the protobuf compilation. Fixes #239 -- MOS_MIGRATED_REVID=95707763
Diffstat (limited to 'scripts/bootstrap/buildenv.sh')
-rwxr-xr-xscripts/bootstrap/buildenv.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/bootstrap/buildenv.sh b/scripts/bootstrap/buildenv.sh
index 20192edab2..2a64d8cc53 100755
--- a/scripts/bootstrap/buildenv.sh
+++ b/scripts/bootstrap/buildenv.sh
@@ -45,7 +45,7 @@ atexit "if [ -f ${phasefile} ]; then echo >&2; cat ${phasefile} >&2; fi"
function run_silent() {
echo "${@}" >${errfile}
- "${@}" 2>&1 >>${errfile}
+ "${@}" >>${errfile} 2>&1
rm ${errfile}
}