diff options
| author | Graydon Hoare <[email protected]> | 2011-03-19 18:32:19 -0700 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2011-03-19 18:34:42 -0700 |
| commit | 3e7ff65201c44f7f7bcca112bc8a7c6b245fd94d (patch) | |
| tree | af73e0ff250c48b3263511f02cc42408efd17c2f /configure | |
| parent | Separate scan for commands used during configure. (diff) | |
| download | rust-3e7ff65201c44f7f7bcca112bc8a7c6b245fd94d.tar.xz rust-3e7ff65201c44f7f7bcca112bc8a7c6b245fd94d.zip | |
Truncate long lines in configure output.
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -43,7 +43,13 @@ make_test_subdirs() { putvar() { local T eval T=\$$1 - printf "%-20s := %s\n" $1 "$T" + eval TLEN=\${#$1} + if [ $TLEN -gt 35 ] + then + printf "configure: %-20s := %.35s ...\n" $1 "$T" + else + printf "configure: %-20s := %s\n" $1 "$T" + fi printf "%-20s := %s\n" $1 "$T" >>config.mk } |