Changeset 7e0a1b8 for LFS


Ignore:
Timestamp:
05/31/2020 08:58:41 AM (4 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
ablfs-more, legacy, trunk
Children:
9ef12f7
Parents:
6caa5b8
Message:

Fix an issue in ck_terminal, which was working only by chance (compensating
bugs) on some setup (but not all)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LFS/master.sh

    r6caa5b8 r7e0a1b8  
    536536
    537537ck_terminal:
    538         @stty size | read LINES COLUMNS; \\
    539         if (( LINES < 24 )) || (( COLUMNS < 80 )) ; then \\
     538        @stty size | ( read L C; \\
     539        if (( L < 24 )) || (( C < 80 )) ; then \\
    540540          echo "--------------------------------------------------"; \\
    541           echo "Terminal too small: \$\$COLUMNS columns x \$\$LINES lines";\\
     541          echo "Terminal too small: \$\$C columns x \$\$L lines";\\
    542542          echo "Minimum: 80 columns x 24 lines";\\
    543543          echo "--------------------------------------------------"; \\
    544544          exit 1; \\
    545         fi
     545        fi )
    546546
    547547mk_SETUP:
Note: See TracChangeset for help on using the changeset viewer.