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

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

commit ce2ba6bc2d8a5bfd03178b47e03eb16444a8e913
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)
    
    (cherry picked from commit cd6497966c1b78b67ced471c560241c018281652)
---
 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 b036caa0a..ffa61324c 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