summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-cross.inc b/meta/recipes-devtools/gcc/gcc-cross.inc
index 6acf8c5848..b16c57d399 100644
--- a/meta/recipes-devtools/gcc/gcc-cross.inc
+++ b/meta/recipes-devtools/gcc/gcc-cross.inc
@@ -65,11 +65,11 @@ then
65 exit 1; 65 exit 1;
66fi 66fi
67 67
68echo "\$target" | grep −q "@" >& /dev/null 68echo "\$target" | grep "@" >& /dev/null
69if [ "x\$?" = "x0" ] 69if [ "x\$?" = "x0" ]
70then 70then
71 user=echo \$target | cut -d '@' -f 1 71 user=\$(echo \$target | cut -d '@' -f 1)
72 target=echo \$target | cut -d '@' -f 2 72 target=\$(echo \$target | cut -d '@' -f 2)
73else 73else
74 user=\$USER 74 user=\$USER
75fi 75fi