]> code.ossystems Code Review - openembedded-core.git/commit
cml1.bbclass: Only delay exit if the command fails
authorDarren Hart <dvhart@linux.intel.com>
Fri, 15 Jun 2012 21:44:24 +0000 (14:44 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 25 Jun 2012 15:32:14 +0000 (16:32 +0100)
commitd99cc2b70bbda9a0cbc09a4430b871c287113041
tree7c5df91a666686ba6f1db45df10f398fde081544
parent4199efed48005a62267fa3374c33b13627d85f44
cml1.bbclass: Only delay exit if the command fails

Rather than pause for 5 seconds, test the return code of the command and
require user input before exiting on failure. This avoids pausing after
successful command execution as well as possibly not waiting long enough
if the user happens to be doing something else for 5 seconds.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
meta/classes/cml1.bbclass