diff options
author | R. Tyler Ballance <tyler@monkeypox.org> | 2010-03-21 12:01:50 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-03-24 14:33:54 -0700 |
commit | 44211e8c2ea48e1149cb36a02bd54f2d21c207f4 (patch) | |
tree | c4eed118bd20c83b4a31a677a262ff5d43209e05 /git_remote_helpers | |
parent | 0b3dcfe721dc8734e2688f936afad055d8541d97 (diff) | |
download | git-44211e8c2ea48e1149cb36a02bd54f2d21c207f4.tar.gz |
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>
Diffstat (limited to 'git_remote_helpers')
-rw-r--r-- | git_remote_helpers/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/git_remote_helpers/Makefile b/git_remote_helpers/Makefile index c62dfd0f4d..74b05dc91e 100644 --- a/git_remote_helpers/Makefile +++ b/git_remote_helpers/Makefile @@ -7,7 +7,11 @@ pysetupfile:=setup.py DESTDIR_SQ = $(subst ','\'',$(DESTDIR)) ifndef PYTHON_PATH - PYTHON_PATH = /usr/bin/python + ifeq ($(uname_S),FreeBSD) + PYTHON_PATH = /usr/local/bin/python + else + PYTHON_PATH = /usr/bin/python + endif endif ifndef prefix prefix = $(HOME) |