From: Joe Guo Date: Wed, 12 Dec 2018 00:39:24 +0000 (+1300) Subject: PY3: change shebang to python3 in source4/scripting dir X-Git-Tag: tdb-1.3.17~307 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=338413ad5aba0b6fa2f0419eb99b4d00ebf6ebc7;p=thirdparty%2Fsamba.git PY3: change shebang to python3 in source4/scripting dir Signed-off-by: Joe Guo Reviewed-by: Noel Power --- diff --git a/source4/scripting/devel/addlotscontacts b/source4/scripting/devel/addlotscontacts index e8b2c1af1aa..42c88a5540a 100644 --- a/source4/scripting/devel/addlotscontacts +++ b/source4/scripting/devel/addlotscontacts @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Copyright (C) Matthieu Patou 2010 # diff --git a/source4/scripting/devel/chgkrbtgtpass b/source4/scripting/devel/chgkrbtgtpass index 12be1bc3bb1..2beb2e7702c 100644 --- a/source4/scripting/devel/chgkrbtgtpass +++ b/source4/scripting/devel/chgkrbtgtpass @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Copyright (C) Matthieu Patou 2010 # Copyright (C) Andrew Bartlett 2015 diff --git a/source4/scripting/devel/chgtdcpass b/source4/scripting/devel/chgtdcpass index 4f5ea15a80c..8f2415c64ff 100755 --- a/source4/scripting/devel/chgtdcpass +++ b/source4/scripting/devel/chgtdcpass @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Copyright (C) Matthieu Patou 2010 # diff --git a/source4/scripting/devel/config_base b/source4/scripting/devel/config_base index e74c87486bf..1aa436de1a5 100755 --- a/source4/scripting/devel/config_base +++ b/source4/scripting/devel/config_base @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # this is useful for running samba tools with a different prefix diff --git a/source4/scripting/devel/crackname b/source4/scripting/devel/crackname index 0ae177c133f..196cc45d5c9 100755 --- a/source4/scripting/devel/crackname +++ b/source4/scripting/devel/crackname @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Copyright Matthieu Patou 2011 # script to call a DRSUAPI crackname diff --git a/source4/scripting/devel/createtrust b/source4/scripting/devel/createtrust index 6c0de1c3ff1..26b0d0dcb68 100755 --- a/source4/scripting/devel/createtrust +++ b/source4/scripting/devel/createtrust @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # create a domain trust diff --git a/source4/scripting/devel/enumprivs b/source4/scripting/devel/enumprivs index 33597f9388a..389f7d08779 100755 --- a/source4/scripting/devel/enumprivs +++ b/source4/scripting/devel/enumprivs @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # script to enumerate LSA privileges on a server diff --git a/source4/scripting/devel/getncchanges b/source4/scripting/devel/getncchanges index 9c25e39f756..3929b906a90 100755 --- a/source4/scripting/devel/getncchanges +++ b/source4/scripting/devel/getncchanges @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # script to call a DRS GetNCChanges from the command line # this is useful for plugfest testing diff --git a/source4/scripting/devel/pfm_verify.py b/source4/scripting/devel/pfm_verify.py index a438fb694f6..2b33441bdcd 100755 --- a/source4/scripting/devel/pfm_verify.py +++ b/source4/scripting/devel/pfm_verify.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # script to verify cached prefixMap on remote diff --git a/source4/scripting/devel/repl_cleartext_pwd.py b/source4/scripting/devel/repl_cleartext_pwd.py index 630a2f524b7..6fc1e162591 100755 --- a/source4/scripting/devel/repl_cleartext_pwd.py +++ b/source4/scripting/devel/repl_cleartext_pwd.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Copyright Stefan Metzmacher 2011-2012 # diff --git a/source4/scripting/devel/rodcdns b/source4/scripting/devel/rodcdns index bd24342ab8f..8f1d90a4c9c 100755 --- a/source4/scripting/devel/rodcdns +++ b/source4/scripting/devel/rodcdns @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # script to call a netlogon RODC DNS update diff --git a/source4/scripting/devel/speedtest.py b/source4/scripting/devel/speedtest.py index e8d412436e6..8a6acfd0a72 100755 --- a/source4/scripting/devel/speedtest.py +++ b/source4/scripting/devel/speedtest.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # Unix SMB/CIFS implementation.