Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

#147 - fix optipng version regex #149

Merged
merged 1 commit into from

2 participants

rrelmy Rob Larsen
rrelmy

as discribed in the issue #147

Rob Larsen
Collaborator

Thanks!

Rob Larsen roblarsen merged commit 4c758fa into from
rrelmy rrelmy deleted the branch
Rob Larsen roblarsen referenced this pull request from a commit
Rob Larsen roblarsen Reworked the two PNG tasks.
This will close
#163 Image Optimization Broken on Linux/Mac
#147 OptiPNG with unix
#141 You have optipng installed and your version is: usage: grep (Mac OS Lion Mountain)
#149 - fix optipng version regex
ccb7913
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 5, 2013
  1. rrelmy

    fix optipng version regex

    rrelmy authored
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  build.xml
2  build.xml
View
@@ -980,7 +980,7 @@
<then>
<var name="optipng.executable" value="optipng"/>
<shellscript shell="bash" outputproperty="optipng.version">
- optipng -version | grep -Po 'OptiPNG\s\d\.\d' | grep -Po '\d\.\d'
+ optipng -version | grep -Po 'OptiPNG\s(version\s)?\d\.\d' | grep -Po '\d\.\d'
</shellscript>
<echo message="You have optipng installed and your version is: ${optipng.version}"/>
</then>
Something went wrong with that request. Please try again.