Skip to content

Commit

Permalink
Upload file to YUI Compressor instead.
Browse files Browse the repository at this point in the history
Older versions of cURL don't accept the --data-ascii option.
  • Loading branch information
reid committed Oct 20, 2010
1 parent 76ffa2e commit df4af4a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Binary file modified componentbuild/lib/yuicompressor/yuicompressor-2.4.5pre.jar
Binary file not shown.
6 changes: 3 additions & 3 deletions componentbuild/shared/macrolib.xml
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,10 @@
<property name="yuicompressor.output" value="@{dest}"/>
<property name="yuicompressor.file" value="@{src}"/>
<echo>If this web request fails, try building again with -Dyuicompressor.online=false or install the cURL executable into your PATH.</echo>
<exec executable="curl" input="@{src}" outputproperty="yuicompressor.result" failonerror="true">
<exec executable="curl" input="@{src}" outputproperty="yuicompressor.result" failonerror="true" searchpath="true">
<arg value="--silent"/>
<arg line="--data-urlencode "/>
<arg line="@${yuicompressor.file}"/>
<arg line="-T"/>
<arg line="${yuicompressor.file}"/>
<arg line="${yuicompressor.url}?type=@{type}"/>
</exec>
<script language="javascript">
Expand Down

0 comments on commit df4af4a

Please sign in to comment.