Closed (fixed)
Project:
Autoload
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Aug 2009 at 23:29 UTC
Updated:
17 Jun 2010 at 03:50 UTC
Jump to comment: Most recent file
Comments
Comment #1
mikey_p commentedActually I think this may be a Drush problem:
Leaving it here for input though.
Comment #2
Steven Merrill commentedHere's a patch to make autoload HEAD work with Drush by checking to see if it's being invoked from the PHP CLI.
Comment #3
Crell commentedHEAD is vestigial. Can you roll a patch against the 6--1 branch, and include comments of what you're actually doing and why? I don't really get it. :-)
Comment #4
kehan commentedsubscribing
Comment #5
kehan commentedI've rerolled the patch against 6--1 and drush commands work again - I tried to add comments - let me know if anything is unclear and I'll try to work it out.
Cheers,
Kehan
Comment #6
mikey_p commentedI don't have time to test this right not, but the approach looks sound.
Comment #7
SimmeLj commentedWhy not use realpath() instead and make it work in both Drush and "normal mode" with just on line of code?
Comment #8
moshe weitzman commentedthis code does use realpath()
Comment #9
robin van emden commentedThanks for the patch. Was needed to fix #724044: Verify task fails on site due to presence of autoload module
Comment #10
Crell commentedI've committed the patch in #7. I'm not releasing a stable, though, until I get more feedback about it. Someone please try the new dev tarball as I've just committed a bunch of stuff. :-)