Commit d37bb86
committed
Fix convert_to_utf8 failing on systems where python3 is not in /usr/bin
scripts/convert_to_utf8 had a hardcoded #!/usr/bin/python3 shebang which
fails on FreeBSD and other systems where Python 3 lives in /usr/local/bin.
- Change shebang to #!/usr/bin/env python3 for portability
- Add PYTHON= @python@ to templates/Makefile.in and invoke the script via
$(PYTHON) so the build uses the exact interpreter detected by configure,
consistent with all other Makefiles in the tree1 parent 0a19519 commit d37bb86
2 files changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| |||
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
64 | | - | |
| 65 | + | |
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
| |||
0 commit comments