diff options
author | 2016-06-30 08:45:05 +0000 | |
---|---|---|
committer | 2016-06-30 11:41:09 +0000 | |
commit | 1e37a5375f918376c132fa537e25695f673f41b8 (patch) | |
tree | 996c0397f1718369e0bcc9e53d0da642756d548a /scripts | |
parent | e69f2ee04dd76a628c19db565c6f9118fe66471c (diff) |
Do redirection of stdout / stderr in Java instead of reimplementing it in every process wrapper again.
--
MOS_MIGRATED_REVID=126279021
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/bootstrap/compile.sh | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/scripts/bootstrap/compile.sh b/scripts/bootstrap/compile.sh index 4f83f3e750..f15b537af2 100755 --- a/scripts/bootstrap/compile.sh +++ b/scripts/bootstrap/compile.sh @@ -227,31 +227,6 @@ cat <<'EOF' >${ARCHIVE_DIR}/_embedded_binaries/process-wrapper${EXE_EXT} #!/bin/sh # Dummy process wrapper, does not support timeout shift 2 -stdout="$1" -stderr="$2" -shift 2 - -if [ "$stdout" = "-" ] -then - if [ "$stderr" = "-" ] - then - "$@" - exit $? - else - "$@" 2>"$stderr" - exit $? - fi -else - if [ "$stderr" = "-" ] - then - "$@" >"$stdout" - exit $? - else - "$@" 2>"$stderr" >"$stdout" - exit $? - fi -fi - "$@" exit $? |