]> git.ipfire.org Git - thirdparty/git.git/commitdiff
contrib/svn-fe: fix shebang for svnrdump_sim.py
authorClément Chigot <clement.chigot@atos.net>
Tue, 17 Sep 2019 14:58:41 +0000 (14:58 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 18 Sep 2019 17:26:19 +0000 (10:26 -0700)
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>
contrib/svn-fe/svnrdump_sim.py

index 11ac6f692733fbfde96a44cc553002ad748065db..50c6a4f89dd435933f22cedc06eb66bfc28c92e9 100755 (executable)
@@ -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.