From 8f53f2d21360031d21d52fd3c5e2f63125cb6f59 Mon Sep 17 00:00:00 2001 From: Cat's Eye Technologies Date: Sat, 17 May 2014 07:19:35 +0100 Subject: [PATCH] For scripts, use the Python interpreter that's found on the path. --- src/tools/charmaps/makea2maps.py | 2 +- src/tools/opcodes/gensets.py | 2 +- tests/test_ophis.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/tools/charmaps/makea2maps.py b/src/tools/charmaps/makea2maps.py index a95f692..91b6f01 100644 --- a/src/tools/charmaps/makea2maps.py +++ b/src/tools/charmaps/makea2maps.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python import struct x = ''.join([chr(x) for x in range(256)]) diff --git a/src/tools/opcodes/gensets.py b/src/tools/opcodes/gensets.py index 1c0d875..5c1d72a 100755 --- a/src/tools/opcodes/gensets.py +++ b/src/tools/opcodes/gensets.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python import sys verbose = 0 diff --git a/tests/test_ophis.py b/tests/test_ophis.py index be053b8..1e38fb4 100755 --- a/tests/test_ophis.py +++ b/tests/test_ophis.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python import sys import subprocess