aboutsummaryrefslogtreecommitdiff
path: root/tests/replace.py
diff options
context:
space:
mode:
authorIssam E. Maghni <issam.e.maghni@mailbox.org>2021-05-28 13:51:56 -0400
committerIssam E. Maghni <issam.e.maghni@mailbox.org>2021-06-03 13:25:00 -0400
commit9eb8819bb1dc0cf60d0ec643107056952a37eb23 (patch)
treea863d34dc8fec55d7deb51abd021b8bc413e4d1f /tests/replace.py
parentb4ecb55e07e828e2e59b5921c41cf12dc0632509 (diff)
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 <issam.e.maghni@mailbox.org>
Diffstat (limited to 'tests/replace.py')
-rwxr-xr-xtests/replace.py2
1 files changed, 1 insertions, 1 deletions
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