build: Add missing new line to replaced python shebang line. (Fix bug #9909)
commit0996e95c00ffc468e6482877f21bae3a0f01abe9
authorMichael Adam <obnox@samba.org>
Tue, 28 May 2013 10:19:34 +0000 (28 12:19 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 30 May 2013 07:45:44 +0000 (30 09:45 +0200)
treeeeeb2c92b601e63b377b634f3484bc0f5a2c5c29
parent2aee249f05cc48e4afe4190b86a8ca4e85101735
build: Add missing new line to replaced python shebang line. (Fix bug #9909)

When configuring with a non-standard python specified in
the PYTHON environment variable, the shebang lines in various
python tools like samba-tool and samba_dnsupdate get replaced.

This replace line for the shebang was missing a newline
which joined the shebang line with the following line,
rendereing those scripts with a nonempty second line unusuable,
for example samba_dnsupdate.

This patch fixes this bug which is bug #9909 on bugzilla.

Pair-Programmed-With: Karolin Seeger <kseeger@samba.org>

Signed-off-by: Michael Adam <obnox@samba.org>
Signed-off-by: Karolin Seeger <kseeger@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Michael Adam <obnox@samba.org>
Autobuild-Date(master): Wed May 29 13:21:51 CEST 2013 on sn-devel-104
(cherry picked from commit 3f24d694e7e2190d30a17bc13a79a36b49711531)
buildtools/wafsamba/wafsamba.py