commit | 63414a490ec692188520101e2a4cd126220a56c8 | [log] [tgz] |
---|---|---|
author | pancake <pancake@nopcode.org> | Fri Feb 27 17:57:53 2015 +0100 |
committer | pancake <pancake@nopcode.org> | Fri Feb 27 17:57:53 2015 +0100 |
tree | 3bb5416d0e8bbed89d5df188c632e690395f5c6c | |
parent | e0352d69d898ff462fc757362207052f2c4d59c4 [diff] |
Rewrite make.sh to make it shorter, faster and more portable - Remove bashisms (use posix shell) - Use only two space indentation (no mixed tabs) - Honor $0 and autogenerate help message - Correct use of exported and local vars - Simplify spaguetti (-30LOC) - Update copyright year - Quote all vars to avoid command injection - Cache uname value and allow to override it - Honor user environment - Support MAKE_JOBS (by default is 4)