Add the OUTPUT_PATH as a relative path.

This commit is contained in:
Alexis Metaireau 2011-06-12 22:31:26 +02:00
commit 515e02bcc6

View file

@ -75,7 +75,7 @@ def read_settings(filename):
log.warn("LOCALE option doesn't contain a correct value")
# Make the paths relative to the settings file
for path in ['PATH']:
for path in ['PATH', 'OUTPUT_PATH']:
if path in context:
if not os.path.isabs(context[path]):
context[path] = os.path.abspath(os.path.normpath(os.path.join(os.path.dirname(filename), context[path])))