Commit graph

7 commits

Author SHA1 Message Date
Iceman c0a30405e8
Merge pull request #561 from sigwinch28/use-env-for-shebangs
Use /usr/bin/env in shebangs
2020-02-21 15:24:50 +01: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 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
Philippe Teuwen 47c6452e94 typo 2019-08-26 12:50:10 +02:00
Philippe Teuwen 8e6258936c make style 2019-07-19 13:18:35 +02:00
Philippe Teuwen 41731ea084 analyzesize: create db on first use 2019-07-18 23:42:58 +02:00
slurdge 01e6db5c2e Add a simple tool to analyze elf files 2019-07-18 22:26:01 +02:00