aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild
diff options
context:
space:
mode:
authorAndrei Alexeyev <0x416b617269@gmail.com>2018-04-10 18:31:10 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2018-04-11 21:43:59 +0300
commite9860cff41772772139fda515f185a8ed9da3d18 (patch)
tree3e278d396a0b0cd51da914c487cadb62ca7b8862 /mesonbuild
parent5a0884dab3e8c958145dc8dad50102acf65e5779 (diff)
downloadmeson-e9860cff41772772139fda515f185a8ed9da3d18.zip
meson-e9860cff41772772139fda515f185a8ed9da3d18.tar.gz
meson-e9860cff41772772139fda515f185a8ed9da3d18.tar.bz2
introspect: default builddir to . to prevent a crash
Fixes #3250
Diffstat (limited to 'mesonbuild')
-rw-r--r--mesonbuild/mintro.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/mintro.py b/mesonbuild/mintro.py
index 74d26da..5a9d4cf 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):