From 480dcdef9af36283273fdd88021ee525f7a7f287 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicki=20K=C5=99=C3=AD=C5=BEek?= Date: Tue, 13 Aug 2024 14:00:43 +0200 Subject: [PATCH] Use python3 in shebang lines for util scripts Some distributions (notably, debian bookworm) have deprecated the `python` interpreter in favor of `python3`. Since our scripts are python3 anyway, use the proper numbered version in shebang to make scripts easily executable. --- bin/tests/convert-trs-to-junit.py | 2 +- bin/tests/system/doth/get_openssl_version.py | 2 +- bin/tests/system/doth/stress_http_quota.py | 2 +- contrib/gitchangelog/gitchangelog.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/tests/convert-trs-to-junit.py b/bin/tests/convert-trs-to-junit.py index 85b37dd629..6d7b4aaa1b 100755 --- a/bin/tests/convert-trs-to-junit.py +++ b/bin/tests/convert-trs-to-junit.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Copyright (C) Internet Systems Consortium, Inc. ("ISC") # diff --git a/bin/tests/system/doth/get_openssl_version.py b/bin/tests/system/doth/get_openssl_version.py index f1d6f4bf00..94cbf5a6bc 100755 --- a/bin/tests/system/doth/get_openssl_version.py +++ b/bin/tests/system/doth/get_openssl_version.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Copyright (C) Internet Systems Consortium, Inc. ("ISC") # diff --git a/bin/tests/system/doth/stress_http_quota.py b/bin/tests/system/doth/stress_http_quota.py index 05ad043571..ca1fddbcc6 100755 --- a/bin/tests/system/doth/stress_http_quota.py +++ b/bin/tests/system/doth/stress_http_quota.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Copyright (C) Internet Systems Consortium, Inc. ("ISC") # diff --git a/contrib/gitchangelog/gitchangelog.py b/contrib/gitchangelog/gitchangelog.py index 7193dddc3d..c0d444baf1 100755 --- a/contrib/gitchangelog/gitchangelog.py +++ b/contrib/gitchangelog/gitchangelog.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 ############################################################################ # Copyright (c) 2018, Valentin Lab # All rights reserved.