Skip to content

Commit 4de113c

Browse files
committed
Merge branch 'rb/maint-python-path'
* rb/maint-python-path: Correct references to /usr/bin/python which does not exist on FreeBSD
2 parents 16b8a3e + 44211e8 commit 4de113c

File tree

5 files changed

+9
-4
lines changed

5 files changed

+9
-4
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -866,6 +866,7 @@ ifeq ($(uname_S),FreeBSD)
866866
NO_UINTMAX_T = YesPlease
867867
NO_STRTOUMAX = YesPlease
868868
endif
869+
PYTHON_PATH = /usr/local/bin/python
869870
endif
870871
ifeq ($(uname_S),OpenBSD)
871872
NO_STRCASESTR = YesPlease

contrib/fast-import/import-zips.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/python
1+
#!/usr/bin/env python
22

33
## zip archive frontend for git-fast-import
44
##

contrib/hg-to-git/hg-to-git.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/python
1+
#!/usr/bin/env python
22

33
""" hg-to-git.py - A Mercurial to GIT converter
44

contrib/p4import/git-p4import.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/python
1+
#!/usr/bin/env python
22
#
33
# This tool is copyright (c) 2006, Sean Estabrooks.
44
# It is released under the Gnu Public License, version 2.

git_remote_helpers/Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@ pysetupfile:=setup.py
77
DESTDIR_SQ = $(subst ','\'',$(DESTDIR))
88

99
ifndef PYTHON_PATH
10-
PYTHON_PATH = /usr/bin/python
10+
ifeq ($(uname_S),FreeBSD)
11+
PYTHON_PATH = /usr/local/bin/python
12+
else
13+
PYTHON_PATH = /usr/bin/python
14+
endif
1115
endif
1216
ifndef prefix
1317
prefix = $(HOME)

0 commit comments

Comments
 (0)