]> git.ipfire.org Git - thirdparty/linux-firmware.git/commitdiff
check_whence.py: Use a more portable shebang.
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>
Wed, 1 Jan 2025 14:48:38 +0000 (23:48 +0900)
committerMario Limonciello <superm1@gmail.com>
Mon, 6 Jan 2025 03:05:13 +0000 (03:05 +0000)
Some systems do not have /usr/bin/python3, e.g. Guix System and NixOS.
Look python3 from PATH.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
check_whence.py

index 42480892aab5bd8008f6105d5ee493fa12bee280..357c1311cf5a038da69a8acb2015d377f25fdea4 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python3
+#!/usr/bin/env python3
 
 import os, re, stat, sys
 from io import open