Use /usr/bin/env in shebangs 90/head
authorSandro Jäckel <sandro.jaeckel@gmail.com>
Thu, 5 Oct 2023 22:41:00 +0000 (00:41 +0200)
committerSandro Jäckel <sandro.jaeckel@gmail.com>
Thu, 5 Oct 2023 22:41:00 +0000 (00:41 +0200)
This is guaranteed to work everything including NixOS

bin/kernel-hardening-checker
kernel_hardening_checker/__init__.py
kernel_hardening_checker/checks.py
kernel_hardening_checker/engine.py
kernel_hardening_checker/test_engine.py
setup.py

index 4c34ef00271aec3bbdab3f4fc0f135ac1cac1905..8a5cd89b2bd0d6c624e6c95daec02539a794fd9a 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python3
+#!/usr/bin/env python3
 
 # For using the tool without installation via setuptools
 
 
 # For using the tool without installation via setuptools
 
index 4d5aaca7989dde7572e8d10a5716bb2168ad44fe..87f438e28d1eb5089a154d74f3faa8dff43a8ffd 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python3
+#!/usr/bin/env python3
 
 """
 This tool is for checking the security hardening options of the Linux kernel.
 
 """
 This tool is for checking the security hardening options of the Linux kernel.
index e99d6a8b6198e790caee9192866930d84265006d..a6460d1173141364517b00af302fead9a837e6f6 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python3
+#!/usr/bin/env python3
 
 """
 This tool is for checking the security hardening options of the Linux kernel.
 
 """
 This tool is for checking the security hardening options of the Linux kernel.
index 64be2043b3f679c1d577dd92e4334ecbd1d794af..4e4eee91b413c1b1f1408b92645e285a9aab1539 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python3
+#!/usr/bin/env python3
 
 """
 This tool is for checking the security hardening options of the Linux kernel.
 
 """
 This tool is for checking the security hardening options of the Linux kernel.
index 8a9cbf7cc889dd945f72d879c604b4761582211a..9f709307e6e08c15dc269572b00a3aa3fb6d3cce 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python3
+#!/usr/bin/env python3
 
 """
 This tool is for checking the security hardening options of the Linux kernel.
 
 """
 This tool is for checking the security hardening options of the Linux kernel.
index cb776f4408e3ad65838a66082ba4a2ac6054d35b..519c2942c42dfbeb53759b92828bda509fddaf74 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python3
+#!/usr/bin/env python3
 
 from setuptools import setup
 
 
 from setuptools import setup