diff options
author | Martin Hundebøll <martin@hundeboll.net> | 2014-10-30 11:43:24 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-12-31 10:18:40 +0000 |
commit | c458dde8200cac8d101aead2e98768c500334eb4 (patch) | |
tree | 4317d22506796e2abdc799ae00cd88ef8038acff /oe-init-build-env-memres | |
parent | 9393fdbd7ed553ef26bc4158b9af5ccd24f89a49 (diff) | |
download | poky-c458dde8200cac8d101aead2e98768c500334eb4.tar.gz |
scripts: use '/usr/bin/env' in shebangs with python
To support yocto on systems with python3 as default version, scripts
should use /usr/bin/env python in the shebang, as this allows the use of
a fake env to mimic python2 as default version.
This patch simply replaces occurrences of #!/usr/bin/python with
#!/usr/bin/env python and was done with this oneliner:
git grep -lE '^#!/usr/bin/python' | xargs \
sed -i 's|/usr/bin/python|/usr/bin/env python|'
(From OE-Core rev: 6d3de22a19657a413e01d7bb5fd74d16c00dc696)
(From OE-Core rev: 129dff8cc5a6cbfa2a3f0d21aeb16efabe5b4575)
Signed-off-by: Martin Hundebøll <martin@hundeboll.net>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'oe-init-build-env-memres')
0 files changed, 0 insertions, 0 deletions