Commit Graph
5 Commits
Author SHA1 Message Date
Joe Harrison ea72b5122d Mention shebang changes and python script porting in CHANGELOG.md
Documents changes from issues 560 and 564, and pull requests 561,
563, and 565.
2020-02-22 13:42:44 +00:00
Joe Harrison f28404581d convert python2 mfd2eml and eml2mfd scripts to python3 2020-02-21 15:36:48 +00:00
Joe Harrison 788e8b7ecc Remove potentially undefined exit behaviour from analyzesize tool
Python2.7 doc for `sys` module states that "Most systems require [the
exit code] to be in the range 0-127, and produce undefined results
otherwise".

Currently, modern Linux-based systems will exit with code 255, while
msys2-based systems such as Proxspace will exit with code 127.

Instead, explicitly exit with non-zero exit code of 1.
2020-02-21 13:50:09 +00:00
Joe Harrison 5e88faa2cf use env in shebangs in pm3-flash-fullimage and rest of tools 2020-02-19 16:13:17 +00:00
Joe Harrison 7d157606ee Use /usr/bin/env in shebangs
Stop assuming that bash is in /bin, and that perl and python are in
/usr/bin, etc.
Instead, use env command to find these commands in the path.
2020-02-18 00:00:24 +00:00