Correct references to /usr/bin/python which may ont exist on certain systems
PATCH 1/1 Correct references to /usr/bin/python which may ont exist on certain systems
FreeBSD for example does not ship with a /usr/bin/python such that Python installed from ports will be located by default in /usr/local/bin
--- Makefile | 2 +- contrib/fast-import/import-zips.py | 2 +- contrib/hg-to-git/hg-to-git.py | 2 +- contrib/p4import/git-p4import.py | 2 +- git_remote_helpers/Makefile | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-)
Makefile +1 -1
@@ -444,7 +444,7 @@ ifndef PERL_PATH PERL_PATH = /usr/bin/perl endif ifndef PYTHON_PATH - PYTHON_PATH = /usr/bin/python + PYTHON_PATH = /usr/bin/env python endif export PERL_PATH
contrib/fast-import/import-zips.py +1 -1
@@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python ## zip archive frontend for git-fast-import ##
contrib/hg-to-git/hg-to-git.py +1 -1
@@ -1,4 +1,4 @@ -#! /usr/bin/python +#!/usr/bin/env python """ hg-to-git.py - A Mercurial to GIT converter
contrib/p4import/git-p4import.py +1 -1
@@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # # This tool is copyright (c) 2006, Sean Estabrooks. # It is released under the Gnu Public License, version 2.
git_remote_helpers/Makefile +1 -1
@@ -7,7 +7,7 @@ pysetupfile:=setup.py DESTDIR_SQ = $(subst ','\'',$(DESTDIR)) ifndef PYTHON_PATH - PYTHON_PATH = /usr/bin/python + PYTHON_PATH = /usr/bin/env python endif ifndef prefix prefix = $(HOME)
Signature · 1 line
1.6.4.3