Skip to content
This repository was archived by the owner on Nov 23, 2018. It is now read-only.

Commit 4c758fa

Browse files
committed
Merge pull request #149 from rrelmy/optipng-regex
#147 - fix optipng version regex
2 parents ce02602 + a520cc7 commit 4c758fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -980,7 +980,7 @@
980980
<then>
981981
<var name="optipng.executable" value="optipng"/>
982982
<shellscript shell="bash" outputproperty="optipng.version">
983-
optipng -version | grep -Po 'OptiPNG\s\d\.\d' | grep -Po '\d\.\d'
983+
optipng -version | grep -Po 'OptiPNG\s(version\s)?\d\.\d' | grep -Po '\d\.\d'
984984
</shellscript>
985985
<echo message="You have optipng installed and your version is: ${optipng.version}"/>
986986
</then>

0 commit comments

Comments
 (0)