Correct references to /usr/bin/python which does not exist on FreeBSD
On FreeBSD, Python does not ship as part of the base system but is available via the ports system, which install the binary in /usr/local/bin. Signed-off-by: R. Tyler Ballance <tyler@monkeypox.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
0b3dcfe721
commit
44211e8c2e
1
Makefile
1
Makefile
@ -831,6 +831,7 @@ ifeq ($(uname_S),FreeBSD)
|
||||
NO_UINTMAX_T = YesPlease
|
||||
NO_STRTOUMAX = YesPlease
|
||||
endif
|
||||
PYTHON_PATH = /usr/local/bin/python
|
||||
endif
|
||||
ifeq ($(uname_S),OpenBSD)
|
||||
NO_STRCASESTR = YesPlease
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python
|
||||
#!/usr/bin/env python
|
||||
|
||||
## zip archive frontend for git-fast-import
|
||||
##
|
||||
|
@ -1,4 +1,4 @@
|
||||
#! /usr/bin/python
|
||||
#!/usr/bin/env python
|
||||
|
||||
""" hg-to-git.py - A Mercurial to GIT converter
|
||||
|
||||
|
@ -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.
|
||||
|
@ -7,8 +7,12 @@ pysetupfile:=setup.py
|
||||
DESTDIR_SQ = $(subst ','\'',$(DESTDIR))
|
||||
|
||||
ifndef PYTHON_PATH
|
||||
ifeq ($(uname_S),FreeBSD)
|
||||
PYTHON_PATH = /usr/local/bin/python
|
||||
else
|
||||
PYTHON_PATH = /usr/bin/python
|
||||
endif
|
||||
endif
|
||||
ifndef prefix
|
||||
prefix = $(HOME)
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user