diff options
author | Klaus Aehlig <aehlig@google.com> | 2016-03-16 15:41:22 +0000 |
---|---|---|
committer | Lukacs Berki <lberki@google.com> | 2016-03-17 10:04:43 +0000 |
commit | 7038d3f03a5bec97b18c00a6b3513558a897534a (patch) | |
tree | 3c7b0588b0dde7cf36851cf8c8cf39dc9f39cd8b /scripts | |
parent | 97a2c30c9c09b7e5b0dff64acd6656df2431246a (diff) |
Remove magic terminal width 97
Bazel expects to be told the width of the terminal; during
bootstrap, we do not have a good mechanism of determining it,
so we have to resort to a hard-coded value. However, 97 is a
not very well motivated value (and actually not a very useful
value either) which is hard to guess that this is a default value.
Resorting to Bazel's built-in default of 80 is only slightly
more useful, but, at least, it is easily recognizable as a default
value, as 80 is the width of the famous VT100, the standard punch
card, etc.
--
Change-Id: I62403ca37ee74a090067a5a4248028e3d624b7c6
Reviewed-on: https://bazel-review.googlesource.com/#/c/3082
MOS_MIGRATED_REVID=117346018
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/bootstrap/compile.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/bootstrap/compile.sh b/scripts/bootstrap/compile.sh index 4f3413d4b1..e7f0eb2daf 100755 --- a/scripts/bootstrap/compile.sh +++ b/scripts/bootstrap/compile.sh @@ -248,7 +248,7 @@ function bootstrap_build() { build \ --ignore_unsupported_sandboxing \ --startup_time=329 --extract_data_time=523 \ - --rc_source=/dev/null --isatty=1 --terminal_columns=97 \ + --rc_source=/dev/null --isatty=1 \ --ignore_client_env \ --client_cwd=${PWD} \ "${@}" |