From: Nicki Křížek Date: Tue, 13 Aug 2024 12:00:43 +0000 (+0200) Subject: Use python3 in shebang lines for util scripts X-Git-Tag: v9.21.1~50^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=480dcdef9af36283273fdd88021ee525f7a7f287;p=thirdparty%2Fbind9.git 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. --- diff --git a/bin/tests/convert-trs-to-junit.py b/bin/tests/convert-trs-to-junit.py index 85b37dd6293..6d7b4aaa1b6 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 f1d6f4bf003..94cbf5a6bc4 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 05ad0435717..ca1fddbcc66 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 7193dddc3d5..c0d444baf14 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.