Commit bf83eb8d authored by Vincent Pelletier's avatar Vincent Pelletier

apachedex: Add support for ~ when including configuration files.

parent 12fe7cff
......@@ -843,6 +843,7 @@ class ShlexArgumentParser(argparse.ArgumentParser):
filepath = arg[1:]
if not filepath:
filepath = next(args)
filepath = os.path.expanduser(filepath)
new_cwd = os.path.normpath(os.path.join(
cwd,
os.path.dirname(filepath),
......
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