summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Chigot <clement.chigot@atos.net>2019-09-17 14:58:41 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-09-18 17:26:19 (GMT)
commitaf78249463bd1cc016ee0f1886f27fde03f8d073 (patch)
tree5b610279092dc8f84e08a01370a41f381e63f0db
parent5fa0f5238b0cd46cfe7f6fa76c3f526ea98148d9 (diff)
downloadgit-af78249463bd1cc016ee0f1886f27fde03f8d073.zip
git-af78249463bd1cc016ee0f1886f27fde03f8d073.tar.gz
git-af78249463bd1cc016ee0f1886f27fde03f8d073.tar.bz2
contrib/svn-fe: fix shebang for svnrdump_sim.py
The shebang for a python script should be "/usr/bin/env python" and not "/usr/bin/python". On some OSes like AIX, python default path is not under "/usr/bin" ("/opt/freeware/bin" for AIX). Note the main reason behind this change is that AIX rpm will add a dependency on "/usr/bin/python" instead of "/usr/bin/env". Signed-off-by: Clément Chigot <clement.chigot@atos.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rwxr-xr-xcontrib/svn-fe/svnrdump_sim.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/svn-fe/svnrdump_sim.py b/contrib/svn-fe/svnrdump_sim.py
index 11ac6f6..50c6a4f 100755
--- a/contrib/svn-fe/svnrdump_sim.py
+++ b/contrib/svn-fe/svnrdump_sim.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
"""
Simulates svnrdump by replaying an existing dump from a file, taking care
of the specified revision range.