diff options
author | David Seifert <soap@gentoo.org> | 2022-04-06 19:57:30 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2022-04-06 19:57:30 +0200 |
commit | a62b31f43fe80177801490c6eab0097340d4f323 (patch) | |
tree | 76bdebc47337e3dd6bcac3d90b131b4cfdf1d67f /xstc | |
parent | f2987a295ff847ecb2a6a3eae1a271c9a64255b6 (diff) | |
download | libxml2-a62b31f43fe80177801490c6eab0097340d4f323.tar.gz |
Use portable python shebangs
* In conda or Gentoo Prefix, we don't want to use the system python and
instead rely on PATH lookup.
Diffstat (limited to 'xstc')
-rwxr-xr-x | xstc/fixup-tests.py | 2 | ||||
-rwxr-xr-x | xstc/xstc-to-python.xsl | 2 |
2 files changed, 2 insertions, 2 deletions
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 @@ <xsl:output method="text"/>
<xsl:template match="/">
- <xsl:text>#!/usr/bin/python -u
+ <xsl:text>#!/usr/bin/env python
# -*- coding: UTF-8 -*-
#
# This file is generated from the W3C test suite description file.
|