Skip to content

Commit 58bb5f1

Browse files
author
Emile Joubert
committed
Correct pattern match
1 parent 22edadb commit 58bb5f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ all:
3333
test: dotnet/.ok erlang/.ok java/.ok python/.ok php/.ok ruby/.ok
3434
RUBYVER=$(RUBYVER) python test.py
3535

36-
RABBITVER:=`curl -s "http://www.rabbitmq.com/releases/rabbitmq-server/?C=N;O=D;F=0;V=1" | grep -m1 -oe 'v[0-9\.]\+' | head -n 1`
36+
RABBITVER:=`curl -s "http://www.rabbitmq.com/releases/rabbitmq-server/?C=N;O=D;F=0;V=1" | grep -oE '([0-9\.]{5,})' | head -n 1`
3737
R=http://www.rabbitmq.com/releases
3838

3939
DVER=$(RABBITVER)

0 commit comments

Comments
 (0)