summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorEric Engestrom <eric@engestrom.ch>2020-02-02 15:26:16 +0000
committerMarge Bot <eric+marge@anholt.net>2021-08-14 21:44:31 +0000
commit6f854145d20501d783c1cb9325ace79eaa238991 (patch)
tree67a4d44a19676d694db09ecf089b5b98ce34cee6 /bin
parent0092edfec0895533260a52c84cb4ce098f6b6bea (diff)
python: explicitly require python3
Ubuntu has dropped the `python` symlink to `python2` [1] instead of redirecting it to `python3` like other distros are doing, which means that if we want to build Mesa on Ubuntu we need the `python3` shebang. [1] https://lists.ubuntu.com/archives/ubuntu-devel/2020-January/040882.html Reported-by: Vinson Lee <vlee@freedesktop.org> Signed-off-by: Eric Engestrom <eric@engestrom.ch> Acked-by: Jose Fonseca <jfonseca@vmware.com> Reviewed-by: Alyssa Rosenzweig <alyssa@collabora.com> Reviewed-by: Dylan Baker <dylan@pnwbakers.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3674>
Diffstat (limited to 'bin')
-rw-r--r--bin/meson_get_version.py2
-rw-r--r--bin/symbols-check.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/meson_get_version.py b/bin/meson_get_version.py
index a221e26f250..2e631d23673 100644
--- a/bin/meson_get_version.py
+++ b/bin/meson_get_version.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# encoding=utf-8
# Copyright © 2017 Intel Corporation
diff --git a/bin/symbols-check.py b/bin/symbols-check.py
index c284d4c7a48..5ebeb861d12 100644
--- a/bin/symbols-check.py
+++ b/bin/symbols-check.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import argparse
import os