From 63504fdacabeca97e3af0a154d5dabc66e58f21d Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Mon, 19 Aug 2024 17:57:20 +0200 Subject: [PATCH] all: use same shebang for python3 tools Consistently use the same shebang in scripts. - the common place for env is /usr/bin/env - use python3 instead of python. On Fedora/CentOS, the unversioned python binary requires the python-unversioned-command package. --- cx_fwup | 2 +- fwdefaults | 2 +- fwup | 2 +- fwversion | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cx_fwup b/cx_fwup index ebe8ec9..c0755cd 100755 --- a/cx_fwup +++ b/cx_fwup @@ -1,4 +1,4 @@ -#!/bin/env python3 +#!/usr/bin/env python3 import os, sys diff --git a/fwdefaults b/fwdefaults index 4cb9057..f6b180f 100755 --- a/fwdefaults +++ b/fwdefaults @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import os, sys import common_bf diff --git a/fwup b/fwup index fcdc102..92cc4b5 100755 --- a/fwup +++ b/fwup @@ -1,4 +1,4 @@ -#!/bin/env python3 +#!/usr/bin/env python3 import sys import requests diff --git a/fwversion b/fwversion index bf1a50d..7e37e24 100755 --- a/fwversion +++ b/fwversion @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import common_bf import argparse