diff --git a/scripts/convert_to_utf8 b/scripts/convert_to_utf8 index c788f50..e6e8b2f 100755 --- a/scripts/convert_to_utf8 +++ b/scripts/convert_to_utf8 @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 import os import sys diff --git a/templates/Makefile.in b/templates/Makefile.in index 3935810..439b69c 100644 --- a/templates/Makefile.in +++ b/templates/Makefile.in @@ -31,6 +31,7 @@ CC= @CC@ CHMOD= @CHMOD@ INSTALL= @INSTALL@ TRUE= @TRUE@ +PYTHON= @PYTHON@ DEFS= @DEFS@ @@ -61,7 +62,7 @@ all: converttemplates # Use a stamp file to track conversion, so it only happens once .converted.stamp: - ../scripts/convert_to_utf8 -d . + $(PYTHON) ../scripts/convert_to_utf8 -d . touch .converted.stamp converttemplates: .converted.stamp