From: Maxim Cournoyer Date: Wed, 1 Jan 2025 14:48:38 +0000 (+0900) Subject: check_whence.py: Use a more portable shebang. X-Git-Tag: 20250109~5^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a100ea55203e0aa184b1402692b6c83756399e61;p=thirdparty%2Flinux-firmware.git check_whence.py: Use a more portable shebang. Some systems do not have /usr/bin/python3, e.g. Guix System and NixOS. Look python3 from PATH. Signed-off-by: Maxim Cournoyer --- diff --git a/check_whence.py b/check_whence.py index 42480892..357c1311 100755 --- a/check_whence.py +++ b/check_whence.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 import os, re, stat, sys from io import open