Commit 46a34688 authored by Lele Gaifax's avatar Lele Gaifax

Apply the same logic to the extends-cache setting too

parent 04efb577
...@@ -257,7 +257,7 @@ class Buildout(DictMixin): ...@@ -257,7 +257,7 @@ class Buildout(DictMixin):
# and considering the location of the configuration file that generated # and considering the location of the configuration file that generated
# the setting as the base path, falling back to the main configuration # the setting as the base path, falling back to the main configuration
# file location # file location
for name in ('download-cache', 'eggs-directory'): for name in ('download-cache', 'eggs-directory', 'extends-cache'):
if name in data['buildout']: if name in data['buildout']:
origdir, src = data['buildout'][name] origdir, src = data['buildout'][name]
if '${' in origdir: if '${' in origdir:
......
...@@ -163,9 +163,9 @@ created, provided it is within an already existing directory:: ...@@ -163,9 +163,9 @@ created, provided it is within an already existing directory::
Using relative paths Using relative paths
-------------------- --------------------
You can use a relative path for ``download-cache`` (the same logic is applied You can use a relative path for ``download-cache`` (the same logic is applied to
to ``eggs-directory`` too) and in such case it is considered relative to the ``eggs-directory`` and to ``extends-cache`` too) and in such case it is considered
location of the configuration file that sets its value. relative to the location of the configuration file that sets its value.
As an example, we create a ``base.cfg`` configuration in a different directory:: As an example, we create a ``base.cfg`` configuration in a different directory::
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment