Skip to content

Commit bb57c1d

Browse files
authored
Merge pull request #7603 from lealem47/detect_cut
Fix cut detection in configure.ac
2 parents 66a5d8c + ecef3c2 commit bb57c1d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9633,7 +9633,7 @@ echo "" >> $OPTION_FILE
96339633
# note: cut requires an argument to exit with success.
96349634
if colrm >/dev/null 2>&1 </dev/null; then
96359635
TRIM="colrm 3"
9636-
elif cut --version >/dev/null 2>&1 </dev/null; then
9636+
elif echo "" | cut -c1 >/dev/null 2>&1 </dev/null; then
96379637
TRIM="cut -c1-2"
96389638
else
96399639
AC_MSG_ERROR([Could not find colrm or cut to make options file])

0 commit comments

Comments
 (0)