update build.sh script

This commit is contained in:
tickstep 2022-01-24 21:57:27 +08:00
parent 159b403879
commit d36a764525

View File

@ -14,7 +14,9 @@ fi
output="out"
build_dir=`dirname $0`
mkdir -p ${build_dir}/${output} > /dev/null 2>&1
if [ ! -d ${build_dir}/${output} ];then
mkdir -p ${build_dir}/${output}
fi
default_golang() {
export GOROOT=/usr/local/go