From bc92277a79bd393b9e1389e0069e4a4725675eff Mon Sep 17 00:00:00 2001 From: Noel Power Date: Mon, 10 Dec 2018 07:28:31 +0000 Subject: [PATCH] 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 Reviewed-by: Andrew Bartlett --- script/autobuild.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/autobuild.py b/script/autobuild.py index 6948ab64bde0..c71b85a85b46 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 -- 2.34.1