introspect: default builddir to . to prevent a crash

Fixes #3250
pull/3392/head
Andrei Alexeyev 7 years ago committed by Jussi Pakkanen
parent 5a0884dab3
commit e9860cff41
  1. 2
      mesonbuild/mintro.py

@ -46,7 +46,7 @@ def buildparser():
help='List external dependencies.') help='List external dependencies.')
parser.add_argument('--projectinfo', action='store_true', dest='projectinfo', default=False, parser.add_argument('--projectinfo', action='store_true', dest='projectinfo', default=False,
help='Information about projects.') 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 return parser
def determine_installed_path(target, installdata): def determine_installed_path(target, installdata):

Loading…
Cancel
Save