Fix python shebang

The current shebang requires /usr/bin/python which is not available in
Ubuntu Jammy by default.

This also fixes some unnecessary/missing shebangs.

Change-Id: Ib25a0a7f39f68f43622609391710dd3b1abc2d00
This commit is contained in:
Takashi Kajinami 2023-10-18 00:37:00 +09:00
parent ea0bc376a2
commit 6a5859fc07
18 changed files with 24 additions and 14 deletions

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python3
# Copyright 2020 Red Hat, Inc. # Copyright 2020 Red Hat, Inc.
# All Rights Reserved. # All Rights Reserved.
# #

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python3
# Copyright 2018 Red Hat, Inc. # Copyright 2018 Red Hat, Inc.
# All Rights Reserved. # All Rights Reserved.
# #

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python #
# Copyright 2012 Cisco Systems, Inc. # Copyright 2012 Cisco Systems, Inc.
# All Rights Reserved. # All Rights Reserved.
# #

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python #
# Copyright (c) 2022, OVH SAS # Copyright (c) 2022, OVH SAS
# All Rights Reserved. # All Rights Reserved.
# #

View File

@ -1,5 +1,4 @@
#!/usr/bin/env python #
# Copyright 2011 VMware, Inc. # Copyright 2011 VMware, Inc.
# All Rights Reserved. # All Rights Reserved.
# #

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain # not use this file except in compliance with the License. You may obtain
# a copy of the License at # a copy of the License at

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python3
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain # not use this file except in compliance with the License. You may obtain

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python3
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain # not use this file except in compliance with the License. You may obtain

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python3
# Copyright 2016 OVH SAS # Copyright 2016 OVH SAS
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # Licensed under the Apache License, Version 2.0 (the "License"); you may

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python3
# Copyright 2017 Eayun, Inc. # Copyright 2017 Eayun, Inc.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # Licensed under the Apache License, Version 2.0 (the "License"); you may

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python3
# Copyright 2017 OVH SAS # Copyright 2017 OVH SAS
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # Licensed under the Apache License, Version 2.0 (the "License"); you may

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python3
# Copyright (c) 2019 Ericsson # Copyright (c) 2019 Ericsson
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # Licensed under the Apache License, Version 2.0 (the "License"); you may

View File

@ -1,4 +1,5 @@
#!/usr/bin/python #!/usr/bin/env python3
# Copyright (c) 2015 Red Hat Inc. # Copyright (c) 2015 Red Hat Inc.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # Licensed under the Apache License, Version 2.0 (the "License"); you may

View File

@ -1,4 +1,4 @@
#! /usr/bin/env python #!/usr/bin/env python3
# Copyright (c) 2019 Red Hat, Inc. # Copyright (c) 2019 Red Hat, Inc.
# All Rights Reserved. # All Rights Reserved.

View File

@ -1,4 +1,4 @@
#! /usr/bin/env python #!/usr/bin/env python3
# Copyright (C) 2014 VA Linux Systems Japan K.K. # Copyright (C) 2014 VA Linux Systems Japan K.K.
# Copyright (C) 2014 YAMAMOTO Takashi <yamamoto at valinux co jp> # Copyright (C) 2014 YAMAMOTO Takashi <yamamoto at valinux co jp>

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python3
# Copyright 2014 Red Hat, Inc. # Copyright 2014 Red Hat, Inc.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # Licensed under the Apache License, Version 2.0 (the "License"); you may

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python3
# Copyright 2016 Red Hat, Inc. # Copyright 2016 Red Hat, Inc.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # Licensed under the Apache License, Version 2.0 (the "License"); you may

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python3
# Copyright 2015 Red Hat, Inc. # Copyright 2015 Red Hat, Inc.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # Licensed under the Apache License, Version 2.0 (the "License"); you may