This is an automated email from the ASF dual-hosted git repository.

guyuqi pushed a commit to branch openEuler-support
in repository https://gitbox.apache.org/repos/asf/bigtop.git


The following commit(s) were added to refs/heads/openEuler-support by this push:
     new cd6497966 BIGTOP-3982: Fix build issues of openEuler docker images on 
Bigtop (#1161)
cd6497966 is described below

commit cd6497966c1b78b67ced471c560241c018281652
Author: Yuqi Gu <[email protected]>
AuthorDate: Mon Aug 14 09:59:03 2023 +0800

    BIGTOP-3982: Fix build issues of openEuler docker images on Bigtop (#1161)
---
 docker/bigtop-slaves/build.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docker/bigtop-slaves/build.sh b/docker/bigtop-slaves/build.sh
index 7215d4feb..650849ed8 100755
--- a/docker/bigtop-slaves/build.sh
+++ b/docker/bigtop-slaves/build.sh
@@ -93,7 +93,7 @@ fi
 sed -e "s|PREFIX|${PREFIX}|;s|OS|${OS}|;s|VERSION|${VERSION}|" 
Dockerfile.template | \
   sed -e 
"s|PUPPET_MODULES|${PUPPET_MODULES}|;s|UPDATE_SOURCE|${UPDATE_SOURCE}|" > 
Dockerfile
 
-if [ $OS == "openeuler" ];then
+if [ "$OS" = "openeuler" ];then
   sed -i "s|\"include bigtop_toolchain::installer\"|\"include 
bigtop_toolchain::installer\" --modulepath=/etc/puppet/modules/|g" Dockerfile
 fi
 

Reply via email to