summaryrefslogtreecommitdiff
path: root/builds
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2021-12-13 23:33:03 -0500
committerWerner Lemberg <wl@gnu.org>2021-12-17 10:45:29 +0100
commit57fd61805fcd13acfd59031fb1211cbfcbb81f51 (patch)
tree0005c8fed17e77c2f67360aeb644ec960e780bcd /builds
parente342f83c0bc1b6de5f05d2b7f2b1c29a1b98eb96 (diff)
downloadfreetype2-57fd61805fcd13acfd59031fb1211cbfcbb81f51.tar.gz
* builds/meson/*.py: Fix name of python executable for auxiliary scripts.
The previous change to check the return code of `run_command` invocations caused the CI to fail. Although most scripts used `python_exe` as the program command, the script to determine the project version did not. But, all scripts used `python` as the shebang, and this is not available on all systems. Particularly Debian does not provide a `python` command, though `python3` does exist. This meant that formerly the version number was lacking, and now the build simply fails. Instead, rely on `python3` since it is guaranteed to exist when running meson, and `python2` is end of life anyway.
Diffstat (limited to 'builds')
-rw-r--r--builds/meson/extract_freetype_version.py2
-rw-r--r--builds/meson/extract_libtool_version.py2
-rw-r--r--builds/meson/generate_reference_docs.py2
-rw-r--r--builds/meson/parse_modules_cfg.py2
-rw-r--r--builds/meson/process_ftoption_h.py2
5 files changed, 5 insertions, 5 deletions
diff --git a/builds/meson/extract_freetype_version.py b/builds/meson/extract_freetype_version.py
index ab79fdb3b..fa83e9d6a 100644
--- a/builds/meson/extract_freetype_version.py
+++ b/builds/meson/extract_freetype_version.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
#
# Copyright (C) 2020-2021 by
# David Turner, Robert Wilhelm, and Werner Lemberg.
diff --git a/builds/meson/extract_libtool_version.py b/builds/meson/extract_libtool_version.py
index 4527f11b2..0ab704eea 100644
--- a/builds/meson/extract_libtool_version.py
+++ b/builds/meson/extract_libtool_version.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
#
# Copyright (C) 2020-2021 by
# David Turner, Robert Wilhelm, and Werner Lemberg.
diff --git a/builds/meson/generate_reference_docs.py b/builds/meson/generate_reference_docs.py
index 15d9b0660..746518fd4 100644
--- a/builds/meson/generate_reference_docs.py
+++ b/builds/meson/generate_reference_docs.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
#
# Copyright (C) 2020-2021 by
# David Turner, Robert Wilhelm, and Werner Lemberg.
diff --git a/builds/meson/parse_modules_cfg.py b/builds/meson/parse_modules_cfg.py
index aa6e9e176..45b65a55d 100644
--- a/builds/meson/parse_modules_cfg.py
+++ b/builds/meson/parse_modules_cfg.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
#
# Copyright (C) 2020-2021 by
# David Turner, Robert Wilhelm, and Werner Lemberg.
diff --git a/builds/meson/process_ftoption_h.py b/builds/meson/process_ftoption_h.py
index fe6088785..7dfb7c58f 100644
--- a/builds/meson/process_ftoption_h.py
+++ b/builds/meson/process_ftoption_h.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
#
# Copyright (C) 2020-2021 by
# David Turner, Robert Wilhelm, and Werner Lemberg.