bigtop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ofle...@apache.org
Subject bigtop git commit: BIGTOP-3044: Fix docker build command for simple sh
Date Sat, 09 Jun 2018 17:20:42 GMT
Repository: bigtop
Updated Branches:
  refs/heads/master 75cd3d915 -> 37a400254


BIGTOP-3044: Fix docker build command for simple sh


Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo
Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/37a40025
Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/37a40025
Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/37a40025

Branch: refs/heads/master
Commit: 37a400254c637fcea4e8788781033391b71285a0
Parents: 75cd3d9
Author: Olaf Flebbe <of@oflebbe.de>
Authored: Sat Jun 9 19:19:33 2018 +0200
Committer: Olaf Flebbe <of@oflebbe.de>
Committed: Sat Jun 9 19:19:33 2018 +0200

----------------------------------------------------------------------
 docker/bigtop-slaves/build.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bigtop/blob/37a40025/docker/bigtop-slaves/build.sh
----------------------------------------------------------------------
diff --git a/docker/bigtop-slaves/build.sh b/docker/bigtop-slaves/build.sh
index 3001206..4a4e17d 100755
--- a/docker/bigtop-slaves/build.sh
+++ b/docker/bigtop-slaves/build.sh
@@ -19,7 +19,7 @@ set -ex
 if [ $# != 1 ]; then
   echo "Creates bigtop/slaves image"
   echo
-  echo "Usage: build.sh <PREIX-OS-VERSION>"
+  echo "Usage: build.sh <PREFIX-OS-VERSION>"
   echo
   echo "Example: build.sh trunk-centos-7"
   echo "       : build.sh 1.0.0-centos-7"
@@ -34,7 +34,7 @@ if [ "${ARCH}" != "x86_64" ];then
   VERSION="${VERSION}-${ARCH}"
 fi
 ## Workaround for docker defect on linaros cloud
-if [ "${ARCH}" == "aarch64" ];then
+if [ "${ARCH}" = "aarch64" ];then
   NETWORK="--network=host"
 fi
 


Mime
View raw message