summaryrefslogtreecommitdiffstats
path: root/scripts/runqemu
diff options
context:
space:
mode:
authorMatthieu Crapet <Matthieu.Crapet@ingenico.com>2014-05-06 14:17:53 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-05-08 13:00:33 +0100
commit37dcf148ba6d5eb82e894bb52fa4d94e6d5de07e (patch)
treef074da1ab324f4889e6a3661b37dfd6e257958d5 /scripts/runqemu
parentc6a5e6cb520afa75c0f21fd7e11f758b17b87140 (diff)
downloadpoky-37dcf148ba6d5eb82e894bb52fa4d94e6d5de07e.tar.gz
scripts/runqemu: avoid pipe with sed
Replace: cat <file> | sed -e xxx By: sed -e xxx <file> (From OE-Core rev: 173769374b1b37244d64767144398337001f1c6f) Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/runqemu')
-rwxr-xr-xscripts/runqemu4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index e270274a97..ff64a1d4c2 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -355,10 +355,10 @@ setup_path_vars() {
355 355
356 MACHINE=$MACHINE bitbake -e > $BITBAKE_ENV_TMPFILE 356 MACHINE=$MACHINE bitbake -e > $BITBAKE_ENV_TMPFILE
357 if [ -z "$OE_TMPDIR" ] ; then 357 if [ -z "$OE_TMPDIR" ] ; then
358 OE_TMPDIR=`cat $BITBAKE_ENV_TMPFILE | sed -n 's/^TMPDIR=\"\(.*\)\"/\1/p'` 358 OE_TMPDIR=`sed -n 's/^TMPDIR=\"\(.*\)\"/\1/p' $BITBAKE_ENV_TMPFILE`
359 fi 359 fi
360 if [ -z "$DEPLOY_DIR_IMAGE" ] ; then 360 if [ -z "$DEPLOY_DIR_IMAGE" ] ; then
361 DEPLOY_DIR_IMAGE=`cat $BITBAKE_ENV_TMPFILE | sed -n 's/^DEPLOY_DIR_IMAGE=\"\(.*\)\"/\1/p'` 361 DEPLOY_DIR_IMAGE=`sed -n 's/^DEPLOY_DIR_IMAGE=\"\(.*\)\"/\1/p' $BITBAKE_ENV_TMPFILE`
362 fi 362 fi
363 if [ -z "$OE_TMPDIR" ]; then 363 if [ -z "$OE_TMPDIR" ]; then
364 # Check for errors from bitbake that the user needs to know about 364 # Check for errors from bitbake that the user needs to know about