]> code.ossystems Code Review - openembedded-core.git/commit
classes/sanity: trim trailing newline when reading /etc/redhat-release
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Wed, 18 Apr 2012 09:56:09 +0000 (10:56 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 18 Apr 2012 10:56:39 +0000 (11:56 +0100)
commitbea0311a6478febe8ab4884fb1c479f610856534
tree1df2896d64fbc0a4aa399ec90e8f5f35cbfb7e99
parent973351cf2e338f07c11395d494193e9c62857f2d
classes/sanity: trim trailing newline when reading /etc/redhat-release

Any trailing whitespace needs to be stripped before comparing it to the
SANITY_TESTED_DISTROS list.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/sanity.bbclass