From afc023406ad658f6f9a2cda69d7d6ce9492bc3af Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 2 Aug 2012 16:13:58 -0500 Subject: Always store absolute paths internally --- src/textual.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/textual.cc') diff --git a/src/textual.cc b/src/textual.cc index a5ae2f68..0ead9232 100644 --- a/src/textual.cc +++ b/src/textual.cc @@ -532,9 +532,8 @@ void instance_t::option_directive(char * line) *p++ = '\0'; } - path abs_path(filesystem::absolute(context.pathname, - context.current_directory)); - if (! process_option(abs_path.string(), line + 2, *context.scope, p, line)) + if (! process_option(context.pathname.string(), line + 2, *context.scope, + p, line)) throw_(option_error, _f("Illegal option --%1%") % (line + 2)); } -- cgit v1.2.3