Closed (fixed)
Project:
Modernizr
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Jul 2012 at 17:45 UTC
Updated:
4 Dec 2012 at 21:00 UTC
Jump to comment: Most recent file
Comments
Comment #1
ruplRemoved the extraneous directory from
$path. Committed to dev, but here's the patch:Comment #2
jherencia commentedWell, I've downloaded the latest dev version and nothing works here, it's always saying that the library exists because it checks if the folder exists after creating it.
Here is the patch that fixes this.
Comment #3
ruplGood catch, it seems I only tested the module enable process when I had an existing library.
The patch needed one small tweak, and I discovered this by executing the following drush commands. Scenario: using Libraries API and the library already exists. I re-enabled the module and there was a missing slash causing the library to be downloaded to a faulty location, when it should be doing nothing.
To fix this I added a slash in front of
$libraries_pathif Libraries API returns a valid location. I committed your patch with this one small change to fix the issue. Thanks!