]> code.ossystems Code Review - openembedded-core.git/commit
ADT: Fix check_result script cond comparison bug
authorLiping Ke <liping.ke@intel.com>
Mon, 21 Feb 2011 21:36:15 +0000 (05:36 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 21 Feb 2011 17:53:51 +0000 (17:53 +0000)
commit7537f44a498860c08f613544e5f40fe2f24adaa8
treea9c7bdb169c21470023c271b6730741f8f34b99a
parent6148562de22b374ea52ee4f8fcabc9e72a3c1ff5
ADT: Fix check_result script cond comparison bug

When meeting errors, the return number can't be directly compared with
-1. Actually, it might be represented as 255. The correct way is to
compared it with 0. If the result is non-zero number, we meet error.
This patch is for fixing [BUGID #742]

Signed-off-by: Liping Ke <liping.ke@intel.coom>
meta/recipes-devtools/installer/adt-installer/scripts/util