[quake3-commits] [ioquake/ioq3] ad24cf: build: if tput fails, fall back to a reasonable te...

Tim Angus tim at ngus.net
Wed Jul 22 04:37:26 EDT 2015


  Branch: refs/heads/master
  Home:   https://github.com/ioquake/ioq3
  Commit: ad24cfcd55c8990f4aefafb0b2f797ce4371b19f
      https://github.com/ioquake/ioq3/commit/ad24cfcd55c8990f4aefafb0b2f797ce4371b19f
  Author: Simon McVittie <smcv at debian.org>
  Date:   2015-07-22 (Wed, 22 Jul 2015)

  Changed paths:
    M Makefile

  Log Message:
  -----------
  build: if tput fails, fall back to a reasonable text width

If TERM is not set (which can happen in autobuilders and other
batch environments), or if tput cannot determine the number of
columns for some other reason, then it can fail and not produce
any output. Prior to this change, that would result in passing
field width -4 to fmt, which is an error and causes fmt to
produce no output.


  Commit: 26ed99e85158b95f519b2f66ca47a5bf1b24134c
      https://github.com/ioquake/ioq3/commit/26ed99e85158b95f519b2f66ca47a5bf1b24134c
  Author: Tim Angus <tim at ngus.net>
  Date:   2015-07-22 (Wed, 22 Jul 2015)

  Changed paths:
    M Makefile

  Log Message:
  -----------
  Merge pull request #131 from smcv/tput

build: if tput fails, fall back to a reasonable text width


Compare: https://github.com/ioquake/ioq3/compare/61a49ba1dbe0...26ed99e85158


More information about the quake3-commits mailing list