Skip to content

Commit 3e7ff65

Browse files
committed
Truncate long lines in configure output.
1 parent 50c7831 commit 3e7ff65

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

configure

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,13 @@ make_test_subdirs() {
4343
putvar() {
4444
local T
4545
eval T=\$$1
46-
printf "%-20s := %s\n" $1 "$T"
46+
eval TLEN=\${#$1}
47+
if [ $TLEN -gt 35 ]
48+
then
49+
printf "configure: %-20s := %.35s ...\n" $1 "$T"
50+
else
51+
printf "configure: %-20s := %s\n" $1 "$T"
52+
fi
4753
printf "%-20s := %s\n" $1 "$T" >>config.mk
4854
}
4955

0 commit comments

Comments
 (0)