Skip to content

Commit

Permalink
Merge pull request cubefs#803 from hooklee2000/master
Browse files Browse the repository at this point in the history
Fix: blank version when 'cfs-cli -v'
  • Loading branch information
mervinkid authored Jul 31, 2020
2 parents 85b36b5 + cdc6bf9 commit 129a044
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -282,8 +282,8 @@ build_cli() {
pre_build_server
pushd $SrcPath >/dev/null
echo -n "build cfs-cli "
#go build $MODFLAGS -ldflags "${LDFlags}" -o ${BuildBinPath}/cfs-cli ${SrcPath}/cli/*.go && echo "success" || echo "failed"
sh cli/build.sh ${BuildBinPath}/cfs-cli && echo "success" || echo "failed"
go build $MODFLAGS -ldflags "${LDFlags}" -o ${BuildBinPath}/cfs-cli ${SrcPath}/cli/*.go && echo "success" || echo "failed"
#sh cli/build.sh ${BuildBinPath}/cfs-cli && echo "success" || echo "failed"
popd >/dev/null
}

Expand Down

0 comments on commit 129a044

Please sign in to comment.