diff options
author | Khem Raj <raj.khem@gmail.com> | 2012-03-02 14:54:25 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-03 14:08:10 +0000 |
commit | 1d262630853e65be9167d904b934b581acf64182 (patch) | |
tree | e3bbdbbdc26b75051126ef60fa91c04900c0a88e /meta/recipes-devtools | |
parent | 06c783e2d6f4e3b316b230565b28d9e4c535c31b (diff) | |
download | openembedded-core-1d262630853e65be9167d904b934b581acf64182.tar.gz openembedded-core-1d262630853e65be9167d904b934b581acf64182.tar.bz2 openembedded-core-1d262630853e65be9167d904b934b581acf64182.tar.xz openembedded-core-1d262630853e65be9167d904b934b581acf64182.zip |
gcc-cross.inc: Fix cross testing scripts to work with dash
dash does not like >& so be explicit and say 2>&1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-cross.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-cross.inc b/meta/recipes-devtools/gcc/gcc-cross.inc index b16c57d39..e7a5e41be 100644 --- a/meta/recipes-devtools/gcc/gcc-cross.inc +++ b/meta/recipes-devtools/gcc/gcc-cross.inc @@ -65,7 +65,7 @@ then exit 1; fi -echo "\$target" | grep "@" >& /dev/null +echo "\$target" | grep "@" 2>&1 > /dev/null if [ "x\$?" = "x0" ] then user=\$(echo \$target | cut -d '@' -f 1) @@ -73,7 +73,7 @@ then else user=\$USER fi -ssh \$user@\$target date >& /dev/null +ssh \$user@\$target date 2>&1 > /dev/null if [ "x\$?" != "x0" ] then echo "Failed connecting to \$user@\$target it could be because" |