diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2017-05-01 02:26:56 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-04-30 20:26:56 -0400 |
commit | 3e67e5c9928f8b1e1c5a63def88d53ed1fed12eb (patch) | |
tree | ed8167b908dc274da6635b3e192ea214b72ab0b1 /test | |
parent | db374ff564e509be86ed22667de1c245ad2c5387 (diff) |
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 'test')
-rwxr-xr-x | test/create-sys-script.py | 4 | ||||
-rwxr-xr-x | test/rule-syntax-check.py | 2 | ||||
-rwxr-xr-x | test/sys-script.py | 2 | ||||
-rwxr-xr-x | test/sysv-generator-test.py | 2 | ||||
-rwxr-xr-x | test/test-exec-deserialization.py | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/test/create-sys-script.py b/test/create-sys-script.py index 4b7abd24ae..402b4f83ab 100755 --- a/test/create-sys-script.py +++ b/test/create-sys-script.py @@ -1,6 +1,6 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 -OUTFILE_HEADER = """#!/usr/bin/python3 +OUTFILE_HEADER = """#!/usr/bin/env python3 # # create-sys-script.py # diff --git a/test/rule-syntax-check.py b/test/rule-syntax-check.py index dab01f1d8a..14739df493 100755 --- a/test/rule-syntax-check.py +++ b/test/rule-syntax-check.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 # Simple udev rules syntax checker # # (C) 2010 Canonical Ltd. diff --git a/test/sys-script.py b/test/sys-script.py index a9c0046667..6c9ee5ff83 100755 --- a/test/sys-script.py +++ b/test/sys-script.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 # # sys-script.py # diff --git a/test/sysv-generator-test.py b/test/sysv-generator-test.py index 16ea65690a..d116fffe38 100755 --- a/test/sysv-generator-test.py +++ b/test/sysv-generator-test.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 # # systemd-sysv-generator integration test # diff --git a/test/test-exec-deserialization.py b/test/test-exec-deserialization.py index b974b1c133..39a9e62e15 100755 --- a/test/test-exec-deserialization.py +++ b/test/test-exec-deserialization.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 # # Copyright 2017 Michal Sekletar <msekleta@redhat.com> |