projects
/
tools
/
fuzz-testing.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c0afc0
)
Cut all newline characters from the 'uname -m' command output
99/148099/8
author
Dmitriy Nikiforov
<d.nikiforov@samsung.com>
Fri, 15 Sep 2017 18:27:19 +0000
(21:27 +0300)
committer
Maria Guseva
<m.guseva@samsung.com>
Tue, 26 Sep 2017 13:13:17 +0000
(13:13 +0000)
Change-Id: I25de911701ff58549f21c016e47b0255cb9a33da
infra/utils.sh
patch
|
blob
|
history
diff --git
a/infra/utils.sh
b/infra/utils.sh
index
ffc4987
..
f4ff35c
100644
(file)
--- a/
infra/utils.sh
+++ b/
infra/utils.sh
@@
-85,7
+85,7
@@
function sdb_shell {
# Checks the device architecture
function get_device_arch {
declare -A archs=([x86_64]='x86_64' [i686]='i586')
- echo "${archs[$(sdb_shell_verbose uname -m)]}"
+ echo "${archs[$(sdb_shell_verbose uname -m
| tr -d '\n\r'
)]}"
}
# Gets gbs config file by architecture