]> code.ossystems Code Review - openembedded-core.git/commitdiff
test-dependencies.sh: Redirect stderr
authorMartin Jansa <martin.jansa@gmail.com>
Fri, 4 Apr 2014 23:22:19 +0000 (01:22 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 5 Apr 2014 13:53:29 +0000 (14:53 +0100)
* newer bitbake is printing some messages to stderr, we want to log
  them as well

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/test-dependencies.sh

index ca7e687a32d8e3548d3be3b607128a6ad7451725..d3212c4f49e3babc0b8635bc56cacc9014c1726f 100755 (executable)
@@ -137,7 +137,7 @@ build_all() {
   OUTPUT1=${OUTPUT_BASE}/${TYPE}_all
   mkdir -p ${OUTPUT1}
   echo "Logs will be stored in ${OUTPUT1} directory"
-  bitbake -k $targets | tee -a ${OUTPUT1}/complete.log
+  bitbake -k $targets 2>&1 | tee -a ${OUTPUT1}/complete.log
 }
 
 build_every_recipe() {