From bc5b0abe7416b3ec9920e62aa6ff4aeb590feb46 Mon Sep 17 00:00:00 2001 From: Diomidis Spinellis Date: Thu, 23 Oct 2014 16:25:22 +0300 Subject: [PATCH] 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 --- gitinspector/gitinspector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitinspector/gitinspector.py b/gitinspector/gitinspector.py index c450234..0ec4433 100755 --- a/gitinspector/gitinspector.py +++ b/gitinspector/gitinspector.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # coding: utf-8 # # Copyright © 2012-2014 Ejwa Software. All rights reserved.