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.

CommentFileSizeAuthor
#1 1118616_absolutes.patch905 bytesanarcat
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

anarcat’s picture

Status: Active » Needs review
FileSize
905 bytes

First pass. Simple enough, works here.

Dane Powell’s picture

Status: Needs review » Reviewed & tested by the community

Subscribe- I need this for the same reason. The patch in #1 seems to work fine. Thanks!

anarcat’s picture

Status: Reviewed & tested by the community » Fixed

Awesome! Just what I needed!

I committed the patch to 2.x (a2b2a01) and 3.x (61f23ea), thanks for the testing!

Status: Fixed » Closed (fixed)

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