I am using drush make to download the jquery cycle plugin using this code:
; jQuery Cycle
libraries[jquery_cycle][download][type] = "get"
libraries[jquery_cycle][download][url] = "http://www.malsup.com/jquery/cycle/release/jquery.cycle.zip?v2.86"
libraries[jquery_cycle][directory_name] = "jquery.cycle"
libraries[jquery_cycle][destination] = "libraries"
This works as expected except that all of the contents do not end up in /sites/all/libraries/jquery.cycle
if I wget the same url and unzip it there is a directory called "src" as well as a readme and a couple other files that do not show up when I use drush make to fetch the plugin.
Am I missing a setting in my code?
Thanks!
| Comment | File | Size | Author |
|---|---|---|---|
| drush_make_output.png | 33.61 KB | RockSoup | |
| unzipped_manually.png | 59.85 KB | RockSoup |
Comments
Comment #1
dmitrig01 commentedwoah, this is bad. working on it.
Comment #2
dmitrig01 commentedTook me 2 days but fixed the bug and
Comment #3
guddomeNt commentedSo .. What was the fix?
I don't know if it's related, but I noticed that unzip can cause the script to stall. Adding
-ooption to the command line call fixes it. (What happens is that if a file is to be overwritten, unzip will prompt the user).Comment #4
bryanhirsch commentedI think I've got the same issue. I'm trying to download a library, but several files are missing after the drush_make is done doing its thing.
@dmitrig01, sounds like you fixed it. Is there a patch?
In case my issue is not the same, here are the details of what's going on.
This is what I have in my .make file:
(I'm trying to include this library in my install profile: http://finnrudolph.de/ImageFlow/Download)
These are the files I've got after drush_make is done:
These are the files I should have:
Is this the issue you fixed?
Thanks for all your work on this @dmitrig01. drush_make is awesome!
Comment #5
dmitrig01 commentedit's in the latest cvs
Comment #6
bryanhirsch commentedJust downloaded 2.0-dev from CVS. That did the trick. Thanks!
Comment #8
bryanhirsch commentedI just installed 6.x-2.0-beta10. Now the same issue from comment #4 is back. :(
Comment #9
bryanhirsch commentedsetting status to active.
Comment #10
dmitrig01 commentedhm, looks like it's still fixed in CVS. I'm going to roll another beta soon.