source-checker: usability tweaks
authorMichael Smith <msmith@cbnco.com>
Sat, 27 Jun 2009 21:12:01 +0000 (17:12 -0400)
committerMichael Smith <msmith@cbnco.com>
Wed, 19 Aug 2009 13:12:51 +0000 (09:12 -0400)
commit3555703d298735f509973b30e5aa40c19c1f6a2e
tree11cdff3c1290b84cd21e2cbbbb35428c6e82e9d7
parentad0ba478018ac64598b6701df5a79b1f71f9b58f
source-checker: usability tweaks

checksum sorter, source checker:
* exit(1) on failure;
* send errors to stderr;
* make executable

checksum sorter:
* read from stdin if no arg;
* accept --inplace option to read and write from the same file;
* check that input file exists as ConfigParser.read() doesn't treat
  missing files as an error.

Signed-off-by: Michael Smith <msmith@cbnco.com>
contrib/source-checker/oe-checksums-sorter.py [changed mode: 0644->0755]
contrib/source-checker/oe-source-checker.py [changed mode: 0644->0755]