summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorNathan Scott <nathans@redhat.com>2020-08-23 11:24:52 +1000
committerNathan Scott <nathans@redhat.com>2020-08-23 11:24:52 +1000
commit9e57b5c3f48c15aa8fb0ced408ec745eb6ad8874 (patch)
tree5b9d9bb52640880e50722c7aba3066d518317d26 /scripts
parentb3aef4ea3a043c1988451bf237902fa77bccb0d5 (diff)
Generate an appropriate shebang line for MakeHeader script3.0.0rc2
Use configure.ac to handle platform differences where some build hosts have only a python3, or only python, binary. Related to https://github.com/htop-dev/htop/pull/6
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/MakeHeader.py.in (renamed from scripts/MakeHeader.py)2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/MakeHeader.py b/scripts/MakeHeader.py.in
index 3ef34b88..9da6685a 100755
--- a/scripts/MakeHeader.py
+++ b/scripts/MakeHeader.py.in
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env @PYTHON@
import os, sys, string, io
try:
from StringIO import StringIO

© 2014-2024 Faster IT GmbH | imprint | privacy policy