aboutsummaryrefslogtreecommitdiff
path: root/meson.py
diff options
context:
space:
mode:
Diffstat (limited to 'meson.py')
-rwxr-xr-xmeson.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/meson.py b/meson.py
index abbac6f..8f944c7 100755
--- a/meson.py
+++ b/meson.py
@@ -15,12 +15,7 @@
# limitations under the License.
from mesonbuild import mesonmain
-import sys, os
-
-def main():
- # Always resolve the command path so Ninja can find it for regen, tests, etc.
- launcher = os.path.realpath(sys.argv[0])
- return mesonmain.run(sys.argv[1:], launcher)
+import sys
if __name__ == '__main__':
- sys.exit(main())
+ sys.exit(mesonmain.main())