From cdff6bc0c154a5d58a6e6892979af4f99d5a0d74 Mon Sep 17 00:00:00 2001 From: Ed Bartosh Date: Thu, 2 Jun 2016 13:13:02 +0300 Subject: [PATCH] scripts: python3: change python to python3 in shebang (From OE-Core rev: 4b544ff388497cac82b0585f237900595523e1cb) Signed-off-by: Ed Bartosh Signed-off-by: Richard Purdie --- scripts/bitbake-whatchanged | 2 +- scripts/buildhistory-collect-srcrevs | 2 +- scripts/cleanup-workdir | 2 +- scripts/combo-layer | 2 +- scripts/contrib/bbvars.py | 2 +- scripts/contrib/devtool-stress.py | 2 +- scripts/contrib/list-packageconfig-flags.py | 2 +- scripts/contrib/verify-homepage.py | 2 +- scripts/cp-noerror | 2 +- scripts/gen-lockedsig-cache | 2 +- scripts/lib/devtool/__init__.py | 2 +- scripts/oe-publish-sdk | 2 +- scripts/oe-trim-schemas | 2 +- scripts/oepydevshell-internal.py | 2 +- scripts/opkg-query-helper.py | 2 +- scripts/pythondeps | 2 +- scripts/relocate_sdk.py | 2 +- scripts/send-error-report | 2 +- scripts/swabber-strace-attach | 2 +- scripts/sysroot-relativelinks.py | 2 +- scripts/test-remote-image | 2 +- scripts/tiny/dirsize.py | 2 +- scripts/tiny/ksize.py | 2 +- 23 files changed, 23 insertions(+), 23 deletions(-) diff --git a/scripts/bitbake-whatchanged b/scripts/bitbake-whatchanged index 55b61d0a906..0207777e63c 100755 --- a/scripts/bitbake-whatchanged +++ b/scripts/bitbake-whatchanged @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # ex:ts=4:sw=4:sts=4:et # -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- diff --git a/scripts/buildhistory-collect-srcrevs b/scripts/buildhistory-collect-srcrevs index 79d2657ac8b..8a03580f8eb 100755 --- a/scripts/buildhistory-collect-srcrevs +++ b/scripts/buildhistory-collect-srcrevs @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Collects the recorded SRCREV values from buildhistory and reports on them # diff --git a/scripts/cleanup-workdir b/scripts/cleanup-workdir index 0b2cf99d785..86eae3702bb 100755 --- a/scripts/cleanup-workdir +++ b/scripts/cleanup-workdir @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Copyright (c) 2012 Wind River Systems, Inc. # diff --git a/scripts/combo-layer b/scripts/combo-layer index eaa7f5adb87..8f57ba58cf7 100755 --- a/scripts/combo-layer +++ b/scripts/combo-layer @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # ex:ts=4:sw=4:sts=4:et # -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- # diff --git a/scripts/contrib/bbvars.py b/scripts/contrib/bbvars.py index b865dd1face..d8d05947769 100755 --- a/scripts/contrib/bbvars.py +++ b/scripts/contrib/bbvars.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/scripts/contrib/devtool-stress.py b/scripts/contrib/devtool-stress.py index 8cf92ca2fe1..2723491b4ae 100755 --- a/scripts/contrib/devtool-stress.py +++ b/scripts/contrib/devtool-stress.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # devtool stress tester # diff --git a/scripts/contrib/list-packageconfig-flags.py b/scripts/contrib/list-packageconfig-flags.py index 22d0c4904d8..b8327e4ebcc 100755 --- a/scripts/contrib/list-packageconfig-flags.py +++ b/scripts/contrib/list-packageconfig-flags.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/scripts/contrib/verify-homepage.py b/scripts/contrib/verify-homepage.py index 18bb15b277e..61a047c40bd 100755 --- a/scripts/contrib/verify-homepage.py +++ b/scripts/contrib/verify-homepage.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # This script can be used to verify HOMEPAGE values for all recipes in # the current configuration. diff --git a/scripts/cp-noerror b/scripts/cp-noerror index d8be6774c71..35eb211be31 100755 --- a/scripts/cp-noerror +++ b/scripts/cp-noerror @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Allow copying of $1 to $2 but if files in $1 disappear during the copy operation, # don't error. diff --git a/scripts/gen-lockedsig-cache b/scripts/gen-lockedsig-cache index 0986a216515..26e9b63a303 100755 --- a/scripts/gen-lockedsig-cache +++ b/scripts/gen-lockedsig-cache @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import os import sys diff --git a/scripts/lib/devtool/__init__.py b/scripts/lib/devtool/__init__.py index 70053631e81..77b1fd90a94 100644 --- a/scripts/lib/devtool/__init__.py +++ b/scripts/lib/devtool/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Development tool - utility functions for plugins # diff --git a/scripts/oe-publish-sdk b/scripts/oe-publish-sdk index 55872f2f935..4fe8974dee1 100755 --- a/scripts/oe-publish-sdk +++ b/scripts/oe-publish-sdk @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # OpenEmbedded SDK publishing tool diff --git a/scripts/oe-trim-schemas b/scripts/oe-trim-schemas index 29fb3a1b672..66a1b8d81d2 100755 --- a/scripts/oe-trim-schemas +++ b/scripts/oe-trim-schemas @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 import sys try: diff --git a/scripts/oepydevshell-internal.py b/scripts/oepydevshell-internal.py index 2566606b503..7761f667eff 100755 --- a/scripts/oepydevshell-internal.py +++ b/scripts/oepydevshell-internal.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import os import sys diff --git a/scripts/opkg-query-helper.py b/scripts/opkg-query-helper.py index 2fb1a789709..ce89491f60b 100755 --- a/scripts/opkg-query-helper.py +++ b/scripts/opkg-query-helper.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # OpenEmbedded opkg query helper utility # diff --git a/scripts/pythondeps b/scripts/pythondeps index f1e64520920..590b9769e78 100755 --- a/scripts/pythondeps +++ b/scripts/pythondeps @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Determine dependencies of python scripts or available python modules in a search path. # diff --git a/scripts/relocate_sdk.py b/scripts/relocate_sdk.py index 99fca86a125..e47b4d916ed 100755 --- a/scripts/relocate_sdk.py +++ b/scripts/relocate_sdk.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Copyright (c) 2012 Intel Corporation # diff --git a/scripts/send-error-report b/scripts/send-error-report index 122ce32e525..ff23552b66c 100755 --- a/scripts/send-error-report +++ b/scripts/send-error-report @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Sends an error report (if the report-error class was enabled) to a # remote server. diff --git a/scripts/swabber-strace-attach b/scripts/swabber-strace-attach index f258987d5ea..e8f325846c2 100755 --- a/scripts/swabber-strace-attach +++ b/scripts/swabber-strace-attach @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import os import sys import subprocess diff --git a/scripts/sysroot-relativelinks.py b/scripts/sysroot-relativelinks.py index ac26367e776..e44eba2b112 100755 --- a/scripts/sysroot-relativelinks.py +++ b/scripts/sysroot-relativelinks.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import sys import os diff --git a/scripts/test-remote-image b/scripts/test-remote-image index 698948b8345..27b1cae38fa 100755 --- a/scripts/test-remote-image +++ b/scripts/test-remote-image @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Copyright (c) 2014 Intel Corporation # diff --git a/scripts/tiny/dirsize.py b/scripts/tiny/dirsize.py index 0b4fbd1fa7a..ddccc5a8c8f 100755 --- a/scripts/tiny/dirsize.py +++ b/scripts/tiny/dirsize.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Copyright (c) 2011, Intel Corporation. # All rights reserved. diff --git a/scripts/tiny/ksize.py b/scripts/tiny/ksize.py index 587c93038c9..b9d2b192cf5 100755 --- a/scripts/tiny/ksize.py +++ b/scripts/tiny/ksize.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Copyright (c) 2011, Intel Corporation. # All rights reserved. -- 2.47.3