diff options
author | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2018-06-26 18:07:43 +0000 |
---|---|---|
committer | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2018-06-28 05:32:10 +0000 |
commit | b6fd5948377c67ca1eb9fdf66a1847bdee9d02e6 (patch) | |
tree | d468328244c89f646af2a8c5166a941cab5b29ea /jenkins-helpers.sh | |
parent | 655aa4c9e4b3216f2649a22d5535305015cfbbd9 (diff) |
Revert part "start-container-docker.sh: Use FQDN to ssh to local container."
The logic in the patch is just bogus -- what was I thinking?!
This partly reverts commit 4199801c5ebf733a0479d872d9ef4bf3f2362f48.
Change-Id: I9d4afd3a6ef4181a25f3e45ea8bcb1f93d60d09f
Diffstat (limited to 'jenkins-helpers.sh')
-rw-r--r-- | jenkins-helpers.sh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/jenkins-helpers.sh b/jenkins-helpers.sh index e1975cc0..a045febd 100644 --- a/jenkins-helpers.sh +++ b/jenkins-helpers.sh @@ -124,12 +124,7 @@ print_arch_for_host () local arch case "$host" in - *".tcwglab") - # While not strictly correct, print_arch_for_label is relaxed - # enough to handle this. - print_arch_for_label "$host" - ;; - *) + "localhost"*) arch=$(uname -m) case "$arch" in "aarch64") arch="arm64" ;; @@ -139,6 +134,11 @@ print_arch_for_host () esac echo "$arch" ;; + *) + # While not strictly correct, print_arch_for_label is relaxed + # enough to handle this. + print_arch_for_label "$host" + ;; esac ) } |