Skip to content

Commit

Permalink
Merge pull request #7603 from lealem47/detect_cut
Browse files Browse the repository at this point in the history
Fix cut detection in configure.ac
  • Loading branch information
dgarske authored May 30, 2024
2 parents 66a5d8c + ecef3c2 commit bb57c1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -9633,7 +9633,7 @@ echo "" >> $OPTION_FILE
# note: cut requires an argument to exit with success.
if colrm >/dev/null 2>&1 </dev/null; then
TRIM="colrm 3"
elif cut --version >/dev/null 2>&1 </dev/null; then
elif echo "" | cut -c1 >/dev/null 2>&1 </dev/null; then
TRIM="cut -c1-2"
else
AC_MSG_ERROR([Could not find colrm or cut to make options file])
Expand Down

0 comments on commit bb57c1d

Please sign in to comment.