autobuild: We should run autobuild with python3 by default
authorNoel Power <noel.power@suse.com>
Mon, 10 Dec 2018 07:28:31 +0000 (07:28 +0000)
committerNoel Power <npower@samba.org>
Mon, 10 Dec 2018 09:38:26 +0000 (10:38 +0100)
commitbc92277a79bd393b9e1389e0069e4a4725675eff
treeb766420916c7757febb8f409d9906b46df9b5141
parent9ac432d4bc5b57660204aace375a32d58ac076df
autobuild: We should run autobuild with python3 by default

sn-devel autobuild runing autobuild.py (via git hooks I suppose) but
if run directly (e.g. depending on script shebang) then 'python' aka
python2 will run. This will cause an error when building some targets
because the autobuild script itself sometimes builds paths based
on the version of python executing the script e.g ${PYTHON_PREFIX}.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
script/autobuild.py