Skip to content

Commit e949926

Browse files
committed
Add compatibility for non-GNU expr
Leading dashes in options confuses FreeBSD expr.
1 parent ec686d8 commit e949926

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ while true; do
6666
;;
6767

6868
--readline=*)
69-
FLAG_readline=$(expr "$1" : '--readline=\(.*\)')
69+
FLAG_readline=$(expr \( "$1" : '--readline=\(.*\)' \) )
7070
;;
7171
--readline)
7272
if test $# -eq 1; then

0 commit comments

Comments
 (0)