summaryrefslogtreecommitdiff
path: root/contrib/svn-fe
diff options
context:
space:
mode:
authorLibravatar Clément Chigot <clement.chigot@atos.net>2019-09-17 14:58:41 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-09-18 10:26:19 -0700
commitaf78249463bd1cc016ee0f1886f27fde03f8d073 (patch)
tree5b610279092dc8f84e08a01370a41f381e63f0db /contrib/svn-fe
parentGit 2.23 (diff)
downloadtgif-af78249463bd1cc016ee0f1886f27fde03f8d073.tar.xz
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>
Diffstat (limited to 'contrib/svn-fe')
-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 11ac6f6927..50c6a4f89d 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.