Default to cwd in mesonconf. Closes #400.

This commit is contained in:
Jussi Pakkanen 2016-02-20 00:02:44 +02:00
parent 091b782e43
commit 3abd5305c2
1 changed files with 1 additions and 1 deletions

View File

@ -182,7 +182,7 @@ class Conf:
def run(args):
args = mesonlib.expand_arguments(args)
if not args:
sys.exit(1)
args = [os.getcwd()]
options = parser.parse_args(args)
if len(options.directory) > 1:
print('%s <build directory>' % args[0])