From a68b6286f3e32873f71a82f4792350e2503b1c97 Mon Sep 17 00:00:00 2001 From: chengyu-l Date: Thu, 10 Sep 2020 15:27:17 +0800 Subject: [PATCH] always compile the lastest version of ChubaoFS client Signed-off-by: chengyu-l --- build/build_cfs_client.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/build/build_cfs_client.sh b/build/build_cfs_client.sh index 896c0aed..27c5d7f5 100755 --- a/build/build_cfs_client.sh +++ b/build/build_cfs_client.sh @@ -1,10 +1,9 @@ #!/bin/sh RootPath=$(cd "$(dirname $0)";pwd) -CfsVersion=2.0.0 test -e ${RootPath}/bin/cfs-client && exit 0 test -d ${RootPath}/chubaofs && rm -rf ${RootPath}/chubaofs -git clone https://github.com/chubaofs/chubaofs.git ${RootPath}/chubaofs && cd ${RootPath}/chubaofs && git checkout v${CfsVersion} +git clone https://github.com/chubaofs/chubaofs.git ${RootPath}/chubaofs && cd ${RootPath}/chubaofs ChubaoFSSrcPath=${RootPath}/chubaofs Out=`docker run -it --rm --privileged -v ${ChubaoFSSrcPath}:/root/go/src/github.com/chubaofs/chubaofs chubaofs/cfs-base:1.0.1 \ /bin/bash -c 'cd /root/go/src/github.com/chubaofs/chubaofs/build && bash ./build.sh > build.out 2>&1 && echo 0 || echo 1'`