We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0858339 commit d8df500Copy full SHA for d8df500
scripts/cross
@@ -28,10 +28,10 @@ if [ ! -f "$GOROOT/pkg/tool/cross" ]; then
28
display_message "Installing x86, x86-64, and ARM commands"
29
set -e
30
for arch in 8 6 5; do
31
- for cmd in a c g l; do
32
- go tool dist install -v cmd/$arch$cmd ||
33
- display_fatal "Couldn't compile tool: $arch$cmd"
34
- done
+ for cmd in a c g l; do
+ go tool dist install -v cmd/$arch$cmd ||
+ display_fatal "Couldn't compile tool: $arch$cmd"
+ done
35
done
36
touch "$GOROOT/pkg/tool/cross"
37
fi
@@ -44,7 +44,7 @@ export GOARCH=$1
44
if [ ! -d "$GOROOT/pkg/${GOOS}_${GOARCH}" ]; then
45
display_message "Installing $GOOS $GOARCH runtime library"
46
if [ "$GOOS" = "windows" ]; then
47
- export CGO_ENABLED=0
+ export CGO_ENABLED=0
48
49
50
cd "$GOROOT/src"
0 commit comments