diff options
| author | Nirbheek Chauhan <nirbheek@centricular.com> | 2018-05-31 15:40:10 +0530 | 
|---|---|---|
| committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2018-05-31 15:40:10 +0530 | 
| commit | f56b402a5b98fbb2c2f3af4ebdac3f53313c5ab1 (patch) | |
| tree | 6b34356b429ef9282214ed80ba6437a72944cf41 /mesonbuild/mesonmain.py | |
| parent | 05f8b1bd7829c425a8a4838394b8c2d5964c7553 (diff) | |
| download | meson-f56b402a5b98fbb2c2f3af4ebdac3f53313c5ab1.tar.gz | |
Revert "mesonlib: handle meson exe wrappers"
This reverts commit 0627e9d616dc311b7c9b0ef17301f680ac9e78a7.
Breaks installation: https://github.com/mesonbuild/meson/issues/3647
Will be restored once that can be fixed.
Diffstat (limited to 'mesonbuild/mesonmain.py')
| -rw-r--r-- | mesonbuild/mesonmain.py | 8 | 
1 files changed, 0 insertions, 8 deletions
| diff --git a/mesonbuild/mesonmain.py b/mesonbuild/mesonmain.py index d77d148a4..4a977a198 100644 --- a/mesonbuild/mesonmain.py +++ b/mesonbuild/mesonmain.py @@ -382,11 +382,3 @@ def run(original_args, mainfile=None):          mlog.shutdown()      return 0 - -def main(): -    # Always resolve the command path so Ninja can find it for regen, tests, etc. -    launcher = os.path.realpath(sys.argv[0]) -    return run(sys.argv[1:], launcher) - -if __name__ == '__main__': -    sys.exit(main()) | 
