diff options
Diffstat (limited to 'mesonbuild/minstall.py')
-rw-r--r-- | mesonbuild/minstall.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/minstall.py b/mesonbuild/minstall.py index b631d4a..e753d94 100644 --- a/mesonbuild/minstall.py +++ b/mesonbuild/minstall.py @@ -28,7 +28,7 @@ from . import environment from .backend.backends import InstallData from .coredata import major_versions_differ, MesonVersionMismatchException from .coredata import version as coredata_version -from .mesonlib import is_windows, Popen_safe +from .mesonlib import Popen_safe, RealPathAction, is_windows from .scripts import depfixer, destdir_join from .scripts.meson_exe import run_exe try: @@ -65,7 +65,7 @@ build definitions so that it will not break when the change happens.''' selinux_updates: T.List[str] = [] def add_arguments(parser: argparse.ArgumentParser) -> None: - parser.add_argument('-C', default='.', dest='wd', + parser.add_argument('-C', dest='wd', action=RealPathAction, help='directory to cd into before running') parser.add_argument('--profile-self', action='store_true', dest='profile', help=argparse.SUPPRESS) |