Closed (fixed)
Project:
Drush Make
Version:
6.x-2.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Apr 2011 at 19:14 UTC
Updated:
27 Jul 2011 at 21:51 UTC
Jump to comment: Most recent file
It is useful for us to reference system-wide include files. For example, we would like to override the aegir makefile in our own distribution, this way:
includes[aegir] = "/var/aegir/.drush/provision/aegir.make"
or, with the debian package:
includes[aegir] = "/usr/share/drush/commands/provision/aegir.make"
Neither works. The documentation says the path is "relative" but doesn't explicitely say that absolute paths are forbidden. I tried an absolute path, thinking myself very smart, but that didn't work either:
includes[aegir] = "../../../../usr/share/drush/commands/provision/aegir.make"
... even though that actually works on the commandline.
This needs to be clarified in the documentation or clearly allowed. I would like to see this implemented.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 1118616_absolutes.patch | 905 bytes | anarcat |
Comments
Comment #1
anarcat commentedFirst pass. Simple enough, works here.
Comment #2
danepowell commentedSubscribe- I need this for the same reason. The patch in #1 seems to work fine. Thanks!
Comment #3
anarcat commentedAwesome! Just what I needed!
I committed the patch to 2.x (a2b2a01) and 3.x (61f23ea), thanks for the testing!