From a62b31f43fe80177801490c6eab0097340d4f323 Mon Sep 17 00:00:00 2001 From: David Seifert Date: Wed, 6 Apr 2022 19:57:30 +0200 Subject: Use portable python shebangs * In conda or Gentoo Prefix, we don't want to use the system python and instead rely on PATH lookup. --- xstc/fixup-tests.py | 2 +- xstc/xstc-to-python.xsl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'xstc') diff --git a/xstc/fixup-tests.py b/xstc/fixup-tests.py index 6e33d1c4..921820b3 100755 --- a/xstc/fixup-tests.py +++ b/xstc/fixup-tests.py @@ -1,4 +1,4 @@ -#!/usr/bin/python -u +#!/usr/bin/env python import sys, os import libxml2 diff --git a/xstc/xstc-to-python.xsl b/xstc/xstc-to-python.xsl index 78d55cd6..37de882c 100755 --- a/xstc/xstc-to-python.xsl +++ b/xstc/xstc-to-python.xsl @@ -7,7 +7,7 @@ - #!/usr/bin/python -u + #!/usr/bin/env python # -*- coding: UTF-8 -*- # # This file is generated from the W3C test suite description file. -- cgit v1.2.1