From f0f405b3d94a905f08778f103e6831f87a349583 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sandro=20J=C3=A4ckel?= Date: Fri, 6 Oct 2023 00:41:00 +0200 Subject: [PATCH] Use /usr/bin/env in shebangs This is guaranteed to work everything including NixOS --- bin/kernel-hardening-checker | 2 +- kernel_hardening_checker/__init__.py | 2 +- kernel_hardening_checker/checks.py | 2 +- kernel_hardening_checker/engine.py | 2 +- kernel_hardening_checker/test_engine.py | 2 +- setup.py | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/bin/kernel-hardening-checker b/bin/kernel-hardening-checker index 4c34ef0..8a5cd89 100755 --- a/bin/kernel-hardening-checker +++ b/bin/kernel-hardening-checker @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 # For using the tool without installation via setuptools diff --git a/kernel_hardening_checker/__init__.py b/kernel_hardening_checker/__init__.py index 4d5aaca..87f438e 100644 --- a/kernel_hardening_checker/__init__.py +++ b/kernel_hardening_checker/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 """ This tool is for checking the security hardening options of the Linux kernel. diff --git a/kernel_hardening_checker/checks.py b/kernel_hardening_checker/checks.py index e99d6a8..a6460d1 100644 --- a/kernel_hardening_checker/checks.py +++ b/kernel_hardening_checker/checks.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 """ This tool is for checking the security hardening options of the Linux kernel. diff --git a/kernel_hardening_checker/engine.py b/kernel_hardening_checker/engine.py index 64be204..4e4eee9 100644 --- a/kernel_hardening_checker/engine.py +++ b/kernel_hardening_checker/engine.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 """ This tool is for checking the security hardening options of the Linux kernel. diff --git a/kernel_hardening_checker/test_engine.py b/kernel_hardening_checker/test_engine.py index 8a9cbf7..9f70930 100644 --- a/kernel_hardening_checker/test_engine.py +++ b/kernel_hardening_checker/test_engine.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 """ This tool is for checking the security hardening options of the Linux kernel. diff --git a/setup.py b/setup.py index cb776f4..519c294 100755 --- a/setup.py +++ b/setup.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 from setuptools import setup -- 2.31.1