summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2018-12-10 07:28:31 +0000
committerNoel Power <npower@samba.org>2018-12-10 10:38:26 +0100
commitbc92277a79bd393b9e1389e0069e4a4725675eff (patch)
treeb766420916c7757febb8f409d9906b46df9b5141 /script
parent9ac432d4bc5b57660204aace375a32d58ac076df (diff)
downloadsamba-bc92277a79bd393b9e1389e0069e4a4725675eff.tar.gz
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>
Diffstat (limited to 'script')
-rwxr-xr-xscript/autobuild.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/autobuild.py b/script/autobuild.py
index 6948ab64bde..c71b85a85b4 100755
--- a/script/autobuild.py
+++ b/script/autobuild.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# run tests on all Samba subprojects and push to a git tree on success
# Copyright Andrew Tridgell 2010
# released under GNU GPL v3 or later