fix(build): run_docker.sh raises error

close #3743

Signed-off-by: StevenLeiZhang <zhangleiic@163.com>
This commit is contained in:
StevenLeiZhang 2025-03-25 11:42:26 +08:00 committed by 梁曟風
parent fbca71d06c
commit fbdd016bbb

View File

@ -43,8 +43,7 @@ has_go() {
}
get_go_build_cache() {
tmp=`go env | grep GOCACHE | awk -F= '{print $2}'`
echo ${tmp} | sed 's/\"//g' | sed "s/'//g"
echo -n $(go env GOCACHE) | sed 's/\"//g' | sed "s/'//g"
}
check_is_podman() {