File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -17,8 +17,9 @@ buildByDocker() {
1717 -e EX_GID=" $( id -g) " \
1818 golang:" $gover " \
1919 /bin/bash -c '
20- sed -i -e "s;://[^/]*/;://mirrors.aliyun.com/;" /etc/apt/sources.list;
21- apt-get update && apt-get install -yq git zip;
20+ sed -i -e "s;://[^/ ]*;://mirrors.aliyun.com;" /etc/apt/sources.list;
21+ apt-get update;
22+ apt-get install -yq git zip;
2223 /bin/bash /mnt/build/build.sh "$@";
2324 chown -R $EX_UID:$EX_GID /mnt/output
2425 ' \
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ OUTDIR='../output'
77MAINNAME=' ghfs'
88MOD=$( go list ../src/)
99VERSION=$( git describe --abbrev=0 --tags 2> /dev/null || git rev-parse --abbrev-ref HEAD 2> /dev/null)
10- LDFLAGS=" -s -w -X $MOD /version.appVer=$VERSION "
10+ LDFLAGS=" -s -w -X $MOD /version.appVer=$VERSION "
1111LICENSE=' ../LICENSE'
1212
1313mkdir -p " $OUTDIR "
You can’t perform that action at this time.
0 commit comments