summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJörg Thalheim <Mic92@users.noreply.github.com>2017-05-01 02:26:56 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-04-30 20:26:56 -0400
commit3e67e5c9928f8b1e1c5a63def88d53ed1fed12eb (patch)
treeed8167b908dc274da6635b3e192ea214b72ab0b1 /tools
parentdb374ff564e509be86ed22667de1c245ad2c5387 (diff)
downloadsystemd-3e67e5c9928f8b1e1c5a63def88d53ed1fed12eb.tar.gz
systemd-3e67e5c9928f8b1e1c5a63def88d53ed1fed12eb.tar.bz2
systemd-3e67e5c9928f8b1e1c5a63def88d53ed1fed12eb.zip
more portable python shebangs (#5816)
This is useful on systems like NixOS, where python3 is not in /usr/bin/python3 as well as for people using alternative ways to install python such as virtualenv/pyenv.
Diffstat (limited to 'tools')
-rw-r--r--tools/catalog-report.py2
-rw-r--r--tools/gdb-sd_dump_hashmaps.py2
-rwxr-xr-xtools/make-directive-index.py2
-rwxr-xr-xtools/make-man-index.py2
-rw-r--r--tools/make-man-rules.py2
-rw-r--r--tools/xml_helper.py2
6 files changed, 6 insertions, 6 deletions
diff --git a/tools/catalog-report.py b/tools/catalog-report.py
index b220060cc8..357e498cdc 100644
--- a/tools/catalog-report.py
+++ b/tools/catalog-report.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python3
+#!/usr/bin/env python3
# -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
#
# This file is part of systemd. It is distrubuted under the MIT license, see
diff --git a/tools/gdb-sd_dump_hashmaps.py b/tools/gdb-sd_dump_hashmaps.py
index d20016e005..62ce8006f5 100644
--- a/tools/gdb-sd_dump_hashmaps.py
+++ b/tools/gdb-sd_dump_hashmaps.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python3
+#!/usr/bin/env python3
# -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
#
# This file is part of systemd.
diff --git a/tools/make-directive-index.py b/tools/make-directive-index.py
index 8ce09ca2fa..1b287997fa 100755
--- a/tools/make-directive-index.py
+++ b/tools/make-directive-index.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python3
+#!/usr/bin/env python3
# -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
#
# This file is part of systemd.
diff --git a/tools/make-man-index.py b/tools/make-man-index.py
index 50ad9532cd..abc33e7394 100755
--- a/tools/make-man-index.py
+++ b/tools/make-man-index.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python3
+#!/usr/bin/env python3
# -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
#
# This file is part of systemd.
diff --git a/tools/make-man-rules.py b/tools/make-man-rules.py
index ecb9d2d9b5..e9e39f10af 100644
--- a/tools/make-man-rules.py
+++ b/tools/make-man-rules.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python3
+#!/usr/bin/env python3
# -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
#
# This file is part of systemd.
diff --git a/tools/xml_helper.py b/tools/xml_helper.py
index b2c036909d..0088be5bd9 100644
--- a/tools/xml_helper.py
+++ b/tools/xml_helper.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python3
+#!/usr/bin/env python3
# -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
#
# This file is part of systemd.