Remove assumption of Python path.

For example, on a FreeBSD system Python can be installed in
/usr/local/bin/python.

Some systems have multiple interpreters installed in a variety of
locations.  The attached patch corrects the problem by using the
env(1) command to run Python.

Signed-off-by: Adam Waldenberg <adam.waldenberg@ejwa.se>
This commit is contained in:
Diomidis Spinellis 2014-10-23 16:25:22 +03:00 committed by Adam Waldenberg
parent b20f15e794
commit bc5b0abe74
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
# coding: utf-8
#
# Copyright © 2012-2014 Ejwa Software. All rights reserved.