From 9eb8819bb1dc0cf60d0ec643107056952a37eb23 Mon Sep 17 00:00:00 2001 From: "Issam E. Maghni" Date: Fri, 28 May 2021 13:51:56 -0400 Subject: tests: use dynamic python path Stop hardcoding the Python path to /usr/bin/python3. Not all systems have Python installed to /usr/bin, and some users might have installed Python to a custom location. Instead, use /usr/bin/env, which performs a $PATH lookup to find the Python executable. Signed-off-by: Issam E. Maghni --- tests/replace.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/replace.py b/tests/replace.py index 8a8a18e..0ab7dfd 100755 --- a/tests/replace.py +++ b/tests/replace.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 import sys -- cgit v1.2.3