Closed (fixed)
Project:
Drush Make
Version:
6.x-2.0-beta6
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Feb 2010 at 19:08 UTC
Updated:
6 May 2010 at 23:40 UTC
In Mac OSX, wget is not installed by default so drush make tries to use curl -o download option.
Executing this from command line:
curl -o '/var/folders/aZ/aZJZjX3JFdybHXG-QOAfGU+++TM/-Tmp-//drush_make_tmp_1265827873/tinymce_3_2_7.zip' 'http://downloads.sourceforge.net/project/tinymce/TinyMCE/3.2.7/tinymce_3...'
does not download the library
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
No more descriptive errors sorry.
Comments
Comment #1
dmitrig01 commentedGood point. I'm not sure myself how to fix this. I've tried this myself (I'm on mac as well) and it didn't work for me either. Could you try to get a working command, and then I can integrate that into the code - thanks!
Comment #2
wulff commentedThe solution, AFAICT, is to add an option to curl in downloadFile().
The following command seems to do the trick:
curl -Lo %s %s
-L: "If the server reports that the requested page has moved to a different location (indicated with a Location: header and a 3XX response code), this option will make curl redo the request on the new place."
In the case of launchpad, this error occurs because download links redirect to URLs on launchpadlibrarian.net.
Comment #3
dmitrig01 commentedfixed, thanks