diff options
author | Liam R. Howlett <Liam.Howlett@windriver.com> | 2016-01-19 15:20:17 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-24 09:40:21 +0000 |
commit | 92abb5f1ceb24983c9e432013ee5c63daa461048 (patch) | |
tree | 4320748e92ab43a8221e1f69ff0580846c42bb95 /.gitignore | |
parent | 924e2c37a4a953fbf6c5125719aba01085c4de09 (diff) | |
download | poky-92abb5f1ceb24983c9e432013ee5c63daa461048.tar.gz |
meta/files/toolchain-shar-relocate.sh: Detect different python binaries and select one that exists.
Although the relocate_sdk.sh supports python3, fc23 does not symlink
/usr/bin/python3 to /usr/bin/python. Using exec instead of a call to
the correct interpreter causes a failure on fc23 when python2 is not
present. This uses 'which' to locate python, python2, then python3 and
uses the first one that's found.
(From OE-Core rev: 99d4d97f51b658d58a50789056b422e48df89ad9)
Signed-off-by: Liam R. Howlett <Liam.Howlett@WindRiver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions