summaryrefslogtreecommitdiffstats
path: root/LICENSE.MIT
diff options
context:
space:
mode:
authorTim Orling <timothy.t.orling@linux.intel.com>2020-04-03 15:41:05 -0700
committerTim Orling <timothy.t.orling@linux.intel.com>2020-04-03 16:01:09 -0700
commitf967ccc1cc2d5646311ebcbb8e54529afa08d717 (patch)
tree04d1596ab7288a541f4fa6d483438d3ef7dcf182 /LICENSE.MIT
parent0c91fcba446418ad1f71d3df9aa3b186bbd353c7 (diff)
downloadopenembedded-core-contrib-timo/install-buildtools_py34.tar.gz
scripts/install-buildtools: refactor for Python 3.4timo/install-buildtools_py34
Our least common denominator supported distro is debian-8 which has python 3.4. The whole point of the install-buildtools script is to make it easier on the user to install buildtools tarball. So it needs to run on Python 3.4. The way we checked if the install was successful in the prior version of the script was not workable in python 3.4. Since the environment-setup-... script is currently just exporting environment variables, use os.environ to do the equivalent from values gleaned via regex from the environment-setup-... file. Corrected a couple minor whitespace errors NOTE: License changed to GPL-2.0-only due to inclusion of code copied directly from bitbake/lib/bb/utils.py. This avoids the need to depend on bitbake, which is now Python 3.5+ only. Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Diffstat (limited to 'LICENSE.MIT')
0 files changed, 0 insertions, 0 deletions