Skip to content

Commit d8df500

Browse files
committed
Fix some whitespace inconsistencies in scripts/cross
1 parent 0858339 commit d8df500

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

scripts/cross

+5-5
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ if [ ! -f "$GOROOT/pkg/tool/cross" ]; then
2828
display_message "Installing x86, x86-64, and ARM commands"
2929
set -e
3030
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
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
3535
done
3636
touch "$GOROOT/pkg/tool/cross"
3737
fi
@@ -44,7 +44,7 @@ export GOARCH=$1
4444
if [ ! -d "$GOROOT/pkg/${GOOS}_${GOARCH}" ]; then
4545
display_message "Installing $GOOS $GOARCH runtime library"
4646
if [ "$GOOS" = "windows" ]; then
47-
export CGO_ENABLED=0
47+
export CGO_ENABLED=0
4848
fi
4949

5050
cd "$GOROOT/src"

0 commit comments

Comments
 (0)