PY3: change shebang to python3 in source4/scripting/bin dir
authorJoe Guo <joeg@catalyst.net.nz>
Mon, 10 Dec 2018 23:23:17 +0000 (12:23 +1300)
committerNoel Power <npower@samba.org>
Fri, 14 Dec 2018 13:40:20 +0000 (14:40 +0100)
Samba default python is 3 now.

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>
29 files changed:
source4/scripting/bin/autoidl
source4/scripting/bin/enablerecyclebin
source4/scripting/bin/findprovisionusnranges
source4/scripting/bin/fullschema
source4/scripting/bin/gen_error_common.py
source4/scripting/bin/gen_hresult.py
source4/scripting/bin/gen_ntstatus.py
source4/scripting/bin/gen_output.py
source4/scripting/bin/gen_werror.py
source4/scripting/bin/get-descriptors
source4/scripting/bin/machineaccountccache
source4/scripting/bin/minschema
source4/scripting/bin/mymachinepw
source4/scripting/bin/rebuildextendeddn
source4/scripting/bin/renamedc
source4/scripting/bin/rpcclient
source4/scripting/bin/samba-gpupdate
source4/scripting/bin/samba-tool
source4/scripting/bin/samba3dump
source4/scripting/bin/samba_dnsupdate
source4/scripting/bin/samba_kcc
source4/scripting/bin/samba_spnupdate
source4/scripting/bin/samba_upgradedns
source4/scripting/bin/samba_upgradeprovision
source4/scripting/bin/sambaundoguididx
source4/scripting/bin/smbstatus
source4/scripting/bin/subunitrun
source4/scripting/bin/w32err_code.py
source4/scripting/bin/wscript_build

index 317749c75a0422b782425a05b9b1e250fda24b4d..8c4267f90fb8b26579de579d7b02999b4e0d2906 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 
 # Unix SMB/CIFS implementation.
index a179698b7fe8bd409591f90b175830c7d302d667..3477f90b91925be59403d609e9f950a17688ecb0 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 # enabled the Recycle Bin optional feature
 #
index 540869dbae44a5ce086ccbc7551f72fdc2482acb..909c9a1d8fcd76be1f7be89f39b2b9b4f5b554b4 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 # Helper for determining USN ranges created of modified by provision and
 # upgradeprovision.
index 596de01b91cde971d01c63e9d96b014c840e0762..ccfc0678d48ae602bf256271ee7aa0ed009ca9f6 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # 
 # Works out the full schema
 #
index ab86c4d28421b5751cdcf86bec2faa490050f797..08aa2672c9e51d9bf33e6b698364bcc245f94774 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 #
 # Unix SMB/CIFS implementation.
index 9229ed654cc96198fe03ff0560ed4b7115358990..5fbf419a547acddfbe8b5ffef3eab5dc5292e3a5 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 #
 # Unix SMB/CIFS implementation.
index cace4c08ce57da4f7d3da6c05e47a94b08806fb3..e0d4fe3b7a16a96d66bb8e6dfdecdf4a8e10596e 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 #
 # Unix SMB/CIFS implementation.
index 8dc1d6aff24e9d456f33ed18ed7cdb458951e451..8f5239f01dfa68cc8ffce80415d009f559f76a4f 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) Catalyst IT Ltd. 2017
 #
index 96611ae7eaa5847ac56af3dd2443546ab93884bd..700ccaf140073b232bbf4cd91adb2e7c5ccfbdc4 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 #
 # Unix SMB/CIFS implementation.
index 70926cdccbbd9cc9675aa016fb3a79e6b7b94871..0a5c31d01032e24419910a7e63b3cc4a9d7d7354 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 # Unix SMB/CIFS implementation.
 # A script to compare differences of security descriotors between
index 7731f5af359207a440b39403be8434c65d31022a..5e6d3c54c4fedf3e2d1d27509989ef6f3f92093b 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 import optparse
 import sys
 
index e70d79a3cf3eb06cab1d01b994d745c8ab5e83cf..62a0b0b00f08010ba98a7a9038ef158de5a80d4f 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # 
 # Works out the minimal schema for a set of objectclasses
 #
index 91dc502a634cf80f761c5eac2a3cd8a8e90d4462..921cd53bffc85f55eca212e62ed0f85051de58db 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Unix SMB/CIFS implementation.
 # Copyright (C) Volker Lendecke 2008
index 5f5e05da795dca97b835b7c8b4e3007c7b0de90f..3c0e46d4fefd1b0f72d8d498916a716ab63f458f 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 # Unix SMB/CIFS implementation.
 # Extended attributes (re)building
index f14a837afeed653e9ac08d779b5e08bee0b6e3ae..6a9bd1c82bd611538d79c898e91cdbc1ff623f12 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # vim: expandtab
 #
 # Copyright (C) Matthieu Patou <mat@matws.net> 2011
index cabd2e363507ddbb9e852af023917636ee53c353..4660db3fde652d53849a337bbe40395a07c4fcf4 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 import sys, os, string
 
index bc350c47c69584f32cb5c218bdfaa66337fa0633..528019c7478f29f0bb9fb24159da6b548b49f653 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # Copyright Luke Morrison <luc785@.hotmail.com> July 2013
 # Co-Edited by Matthieu Pattou July 2013 from original August 2013
 # Edited by Garming Sam Feb. 2014
index 7f4b7a756a02e49a3178612b08123a93763dfcd1..f8a70a6b295ef04fcfde7af1b3ef6d74a8308019 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Unix SMB/CIFS implementation.
 # Copyright (C) Jelmer Vernooij <jelmer@samba.org> 2008-2012
index 2cb65f5ffd060f2f6e285c0b39218d942c3269bb..1a5d74fbf96d977afbb8a92259f9d13ec2e87388 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 #    Dump Samba3 data
 #    Copyright Jelmer Vernooij 2005-2007
index 5df8d608bfb159283963dfdad2c3ed18d79a8e84..b22dde8360b4b84bd88287a9f770f9bda5bc6bd5 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # vim: expandtab
 #
 # update our DNS names using TSIG-GSS
index 78cd0f46047d2b70db8cfb13be9b0d9552b66b98..aded135907b316c4ba5bab4de74885850303b6ad 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 # Compute our KCC topology
 #
index a7ec0b9696391fdec4f54305b8d5a42e1c3c90aa..9d3a7fab4d94ec2df77330934f4e2dd00b2e2123 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 # update our servicePrincipalName names from spn_update_list
 #
index 4f462b9fa320c6594f72e3c4b5ff37f7befa23ee..4ac131ef1e7c0040499e0b2cb5d88e7ee830bde3 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 # Unix SMB/CIFS implementation.
 # Copyright (C) Amitay Isaacs <amitay@gmail.com> 2012
index 5ec7b63fe2ed455c8b9006cd97af42d8b862992f..8433b4ddd9c6edf208b34a6c6918e307201046cf 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # vim: expandtab
 #
 # Copyright (C) Matthieu Patou <mat@matws.net> 2009 - 2010
index a931601cf030305215c27e1d7e82848d7f10d86a..008e79805fffeb7ca2d38807fa98a17c724f5b6c 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 import optparse
 import sys
 
index c2834ab12abef08dd14886987cf915bacb83aa52..d171a433a30988c63421730fe69286d00302451c 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 #
 #  provide information on connected users and open files
index c0b6e0d932f21bd83f209cd00fa6c80fa441011b..7bfa8514a189e2248c56e05b6fdbbdb59b5935c8 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Simple subunit testrunner for python
 
index b05d25785c1e747657d6a35003e2764710728600..7fedf769b7e67f841c2bd3be7a9b555530ec7f66 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Unix SMB/CIFS implementation.
 # Copyright (C) Kamen Mazdrashki <kamen.mazdrashki@postpath.com> 2009
index 72e42584259d3bebe4cce1bbf86998e88e6ef6d9..42b37faa32a63c1f19fa0acab34573e6a6d75376 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 if bld.CONFIG_SET('AD_DC_BUILD_IS_ENABLED'):
     for script in ['samba-tool',