in my drush make:

libraries[CAS][download][type] = "file"
libraries[CAS][download][url] = "http://downloads.jasig.org/cas-clients/php/current/CAS-1.2.2.tgz"

this produces:

sites/all/libraries/CAS/CAS-1.2.2/

however for the cas module to be happy I need to have:

sites/all/libraries/CAS/

is there any way to do this with drush make? or do i need to re-package CAS-1.2.2.tgz without a top-level directory to get the results I'm looking for?

thanks!

Comments

firebus’s picture

Project: Drush » Drush Make
Version: 7.x-4.4 » 6.x-2.3
Component: Make » Code
helmo’s picture

The package.xml file is somewhat unfortunate here.
If it were not there then adding libraries[CAS][download][directory_name] = "CAS" would probably do the trick.

The current code in _drush_make_download_file_move() is the reason for this.

firebus’s picture

Status: Active » Fixed

arg, i didn't even realize there was that top-level package.xml, thank you.

that makes this a foolish use case for drush - maybe it would make sense to extend the cas project to accept a libraries structure that drush can comply with.

thanks again for your input!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.