Skip to content

Commit e2941cc

Browse files
committed
configure.ac: test fix
not sure why `if [ test $4 ... ]` worked... (excess [], which are possibly consumed/erased by m4) - check that $4 is set and avoid splitting on spaces (should not happen) - use -eq instaead of = (should be 0 or 1)
1 parent 7e42cb9 commit e2941cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3568,7 +3568,7 @@ end_section() {
35683568
add_column() {
35693569
PAD_DOTS=31
35703570
# left column
3571-
if [ test $4 = 0 ]; then
3571+
if test "${4?}" -eq 0; then
35723572
printf "$1\n $2 $(for n in `seq ${#2} $PAD_DOTS`; do printf .; done) $(printf %-3s $3)"
35733573
return 1
35743574
else

0 commit comments

Comments
 (0)