mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-05-08 05:28:01 +02:00
tools: change python invocations to use /usr/bin/env python3
Let's be consistent here Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
bd8123e459
commit
975ff2fb6e
3 changed files with 16 additions and 2 deletions
|
|
@ -462,6 +462,20 @@ fedora:30@valgrind:
|
||||||
MESON_TEST_ARGS: '--suite=valgrind --no-suite=hardware --setup=valgrind'
|
MESON_TEST_ARGS: '--suite=valgrind --no-suite=hardware --setup=valgrind'
|
||||||
before_script:
|
before_script:
|
||||||
- dnf install -y valgrind
|
- dnf install -y valgrind
|
||||||
|
|
||||||
|
# Python checks, only run on Fedora
|
||||||
|
|
||||||
|
fedora:30@usr-bin-env-python:
|
||||||
|
extends: .fedora-build@template
|
||||||
|
variables:
|
||||||
|
FEDORA_VERSION: 30
|
||||||
|
script:
|
||||||
|
- |
|
||||||
|
if git grep -l '^#!/usr/bin/python'; then
|
||||||
|
echo "Use '/usr/bin/env python3' in the above files";
|
||||||
|
/bin/false
|
||||||
|
fi
|
||||||
|
|
||||||
#
|
#
|
||||||
# Ubuntu
|
# Ubuntu
|
||||||
#
|
#
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/python3
|
#!/usr/bin/env python3
|
||||||
# vim: set expandtab shiftwidth=4:
|
# vim: set expandtab shiftwidth=4:
|
||||||
# -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
|
# -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
|
||||||
#
|
#
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/python3
|
#!/usr/bin/env python3
|
||||||
# vim: set expandtab shiftwidth=4:
|
# vim: set expandtab shiftwidth=4:
|
||||||
# -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
|
# -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
|
||||||
#
|
#
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue