mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-21 22:34:05 +00:00
Truncate long lines in configure output.
This commit is contained in:
parent
50c78313f2
commit
3e7ff65201
8
configure
vendored
8
configure
vendored
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user