From: Sandro Jäckel Date: Thu, 5 Oct 2023 22:41:00 +0000 (+0200) Subject: Use /usr/bin/env in shebangs X-Git-Tag: v0.6.6~69^2 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=f0f405b3d94a905f08778f103e6831f87a349583;p=kconfig-hardened-check.git Use /usr/bin/env in shebangs This is guaranteed to work everything including NixOS --- 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