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() {
17
17
-e EX_GID=" $( id -g) " \
18
18
golang:" $gover " \
19
19
/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;
22
23
/bin/bash /mnt/build/build.sh "$@";
23
24
chown -R $EX_UID:$EX_GID /mnt/output
24
25
' \
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ OUTDIR='../output'
7
7
MAINNAME=' ghfs'
8
8
MOD=$( go list ../src/)
9
9
VERSION=$( 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 "
11
11
LICENSE=' ../LICENSE'
12
12
13
13
mkdir -p " $OUTDIR "
You can’t perform that action at this time.
0 commit comments