diff options
| author | Andrei Alexeyev <0x416b617269@gmail.com> | 2018-04-10 18:31:10 +0300 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2018-04-11 21:43:59 +0300 |
| commit | e9860cff41772772139fda515f185a8ed9da3d18 (patch) | |
| tree | 3e278d396a0b0cd51da914c487cadb62ca7b8862 | |
| parent | 5a0884dab3e8c958145dc8dad50102acf65e5779 (diff) | |
| download | meson-e9860cff41772772139fda515f185a8ed9da3d18.tar.gz | |
introspect: default builddir to . to prevent a crash
Fixes #3250
| -rw-r--r-- | mesonbuild/mintro.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): |
