Closed (fixed)
Project:
Drush
Component:
Make
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Apr 2012 at 15:24 UTC
Updated:
8 Jun 2012 at 21:11 UTC
Jump to comment: Most recent file
I was able to replicate this on Ubuntu 8.04, but not on Mac OS 10.6. Discovered using 5.1 release, replicated on 6.0-dev.
drush_mime_content_type detected the file type as application/x-zip, but make_download_file_unpack does not have a case for it.
./drush/drush make --no-core test.make test
jquery.ui downloaded from http://jquery-ui.googlecode.com/files/jquery-ui-1.7.3.zip. [ok]
ls -la test/sites/all/libraries/jquery.ui
Expected result: contents of jQuery UI
Actual result: jquery-ui-1.7.3.zip
test.make:
core = 7.x
api = 2
; LIBRARIES
libraries[jquery.ui][download][type] = "file"
libraries[jquery.ui][download][url] = http://jquery-ui.googlecode.com/files/jquery-ui-1.7.3.zip
libraries[jquery.ui][directory_name] = "jquery.ui"
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | drush_zip_mime-1539672.patch | 556 bytes | fluxsauce |
Comments
Comment #1
fluxsauce commentedThe patch.
Comment #2
moshe weitzman commentedi would prefer to make progress on #1457798: Use drush_tarball_extract() and drush filesystem commands during make
Comment #3
jhedstromI committed #1 in the mean time as it is quite a simple fix (see f6cd7b0). I'll see if I can make progress on #1457798: Use drush_tarball_extract() and drush filesystem commands during make.