Clean the paths passed as args.

This commit is contained in:
Chris Johns 2013-05-17 12:52:22 +10:00
parent 5172f31f41
commit 54d142615c

View File

@ -114,7 +114,7 @@ class command_line:
def _lo_path(self, opt, macro, value):
if value is None:
raise error.general('option requires a path: %s' % (opt))
value = path.shell(value)
value = path.abspath(value)
self.opts[opt[2:]] = value
self.defaults[macro] = value