{"thread":{"id":"51867","subject":"[PATCH] contrib/svn-fe: fix shebang for svnrdump_sim.py","startedAt":"2019-09-17T15:09:01Z","lastAt":"2019-09-17T15:09:01Z","messageCount":1,"participants":["CHIGOT, CLEMENT"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"382489","messageId":"AM6PR02MB49509E34B4DC357582262193EA8F0@AM6PR02MB4950.eurprd02.prod.outlook.com","threadId":"51867","inReplyTo":null,"subject":"[PATCH] contrib/svn-fe: fix shebang for svnrdump_sim.py","fromName":"CHIGOT, CLEMENT","fromEmail":"clement.chigot@atos.net","sentAt":"2019-09-17T14:58:41Z","receivedAt":"2019-09-17T15:09:01Z","isPatch":true,"sender":{"key":"clement.chigot@atos.net","avatar":null},"body":"The shebang for a python script should be \"/usr/bin/env python\" and not\n\"/usr/bin/python\". On some OSes like AIX, python default path is not under\n\"/usr/bin\" (\"/opt/freeware/bin\" for AIX).\n\nNote the main reason behind this change is that AIX rpm will add a\ndependency on \"/usr/bin/python\" instead of \"/usr/bin/env\".\n\nSigned-off-by: Clément Chigot <clement.chigot@atos.net>\n---\n contrib/svn-fe/svnrdump_sim.py | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)\n\ndiff --git a/contrib/svn-fe/svnrdump_sim.py b/contrib/svn-fe/svnrdump_sim.py\nindex 11ac6f6927..50c6a4f89d 100755\n--- a/contrib/svn-fe/svnrdump_sim.py\n+++ b/contrib/svn-fe/svnrdump_sim.py\n@@ -1,4 +1,4 @@\n-#!/usr/bin/python\n+#!/usr/bin/env python\n \"\"\"\n Simulates svnrdump by replaying an existing dump from a file, taking care\n of the specified revision range.\n-- \n2.17.1\n\n\nClément Chigot\nATOS Bull SAS\n1 rue de Provence - 38432 Échirolles - France\n\n"}]}