summaryrefslogtreecommitdiff
path: root/jenkins-helpers.sh
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2018-06-27 10:13:48 +0000
committerMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2018-06-28 05:32:23 +0000
commit69011f21ffa6cd45c09fd143bce287ffe8834ca0 (patch)
tree47fcfa7023bc47fb433a918d39a3f87d0135916b /jenkins-helpers.sh
parentb6fd5948377c67ca1eb9fdf66a1847bdee9d02e6 (diff)
start-container-docker: Fix handling of architecture without host/node/label
Fix docker image architecture detection when no host/node/label option is given -- e.g., when called via docker-run.sh. Change-Id: I1bf08668376c07e5380816a0681aa67f7a856f71
Diffstat (limited to 'jenkins-helpers.sh')
-rw-r--r--jenkins-helpers.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/jenkins-helpers.sh b/jenkins-helpers.sh
index a045febd..a9b815c3 100644
--- a/jenkins-helpers.sh
+++ b/jenkins-helpers.sh
@@ -124,7 +124,7 @@ print_arch_for_host ()
local arch
case "$host" in
- "localhost"*)
+ "localhost")
arch=$(uname -m)
case "$arch" in
"aarch64") arch="arm64" ;;