Fix lint-stable checkin hooks on MacOS X
authorStefan Reinauer <stefan.reinauer@coreboot.org>
Thu, 8 Mar 2012 19:06:25 +0000 (11:06 -0800)
committerStefan Reinauer <stefan.reinauer@coreboot.org>
Fri, 9 Mar 2012 04:29:08 +0000 (05:29 +0100)
commit8ebd11eab999654873010e706b95e5fe5855ea64
tree6f72a8f4ccf68cd7c1128ad1ab490031556f2b0c
parent0a50084e4d7535c5eb86dc3bf18c357eec4aa69a
Fix lint-stable checkin hooks on MacOS X

- wc adds a number of leading spaces which broke cut
- sed can't replace spaces with new lines, so use tr for that.
- make sure directories are created if they're not there.

Change-Id: Ia0db059683abe3d97b0ab6feaece660a1f4e5079
Signed-off-by: Stefan Reinauer <reinauer@google.com>
Reviewed-on: http://review.coreboot.org/774
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Tested-by: build bot (Jenkins)
Makefile.inc
util/lint/lint-stable-002-build-dir-handling