Branko Čibej wrote on Mon, Jun 24, 2013 at 16:32:56 +0200: > On 24.06.2013 11:46, Daniel Shahaf wrote: > > Branko Čibej wrote on Sat, Jun 22, 2013 at 18:02:32 +0200: > >> On 22.06.2013 17:46, Nico Kadel-Garcia wrote: > >>> # Canonicalize path to python, correctly > >>> for name in tools/server-side/svnpubsub/*.py; do > >>> sed -i 's|#!/usr/local/bin/python|#!/usr/bin/env python|g' $name > >>> done > >> The above will actually break the hook scripts. At best you can use > >> "#!/usr/bin/python" in those scripts. > > And _that_ will break them on FreeBSD. > > The discussion is about how to package svnpubsub into an RPM. I don't > see what FreeBSD has to do with that.
Changing #!/usr/local/bin/python to #!/usr/bin/python in a script in trunk would break that script on FreeBSD.