From e9860cff41772772139fda515f185a8ed9da3d18 Mon Sep 17 00:00:00 2001 From: Andrei Alexeyev <0x416b617269@gmail.com> Date: Tue, 10 Apr 2018 18:31:10 +0300 Subject: [PATCH] introspect: default builddir to . to prevent a crash Fixes #3250 --- mesonbuild/mintro.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesonbuild/mintro.py b/mesonbuild/mintro.py index 74d26da21..5a9d4cfa9 100644 --- a/mesonbuild/mintro.py +++ b/mesonbuild/mintro.py @@ -46,7 +46,7 @@ def buildparser(): help='List external dependencies.') parser.add_argument('--projectinfo', action='store_true', dest='projectinfo', default=False, help='Information about projects.') - parser.add_argument('builddir', nargs='?', help='The build directory') + parser.add_argument('builddir', nargs='?', default='.', help='The build directory') return parser def determine_installed_path(target, installdata):