summaryrefslogtreecommitdiff
path: root/contrib/generate-version-script.py
diff options
context:
space:
mode:
authorTing-Wei Lan <lantw@src.gnome.org>2020-03-21 22:13:57 +0800
committerRichard Hughes <richard@hughsie.com>2020-03-24 15:14:11 +0000
commit76c23503ed1002d3aad0118795006fe2128006ae (patch)
tree62b51b1b298b3ca9add70f0deae40cc69c8483e5 /contrib/generate-version-script.py
parent16e73d7bfcd9ffb38e9a4ef30ca90c2c8038c2af (diff)
downloadgusb-76c23503ed1002d3aad0118795006fe2128006ae.tar.gz
generate-version-script: Don't hard-code the path of python3
Python can be installed in different directories on different operating systems, so we can't hard-code the path of it. Instead, use meson to find it to avoid 'no such file or directory' error on the bad path.
Diffstat (limited to 'contrib/generate-version-script.py')
-rw-r--r--[-rwxr-xr-x]contrib/generate-version-script.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/contrib/generate-version-script.py b/contrib/generate-version-script.py
index c4ee238..0fe2b24 100755..100644
--- a/contrib/generate-version-script.py
+++ b/contrib/generate-version-script.py
@@ -1,4 +1,3 @@
-#!/usr/bin/python3
# pylint: disable=invalid-name,missing-docstring
#
# Copyright (C) 2017 Richard Hughes <richard@hughsie.com>