File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -162,16 +162,16 @@ IFS=$'\n'; for go_exe in $(type -ap go); do
162
162
fi
163
163
fi
164
164
done ; unset IFS
165
- GOROOT_BOOTSTRAP_VERSION=$( $GOROOT_BOOTSTRAP /bin/go version | sed ' s/go version //' )
166
- echo " Building Go cmd/dist using $GOROOT_BOOTSTRAP . ($GOROOT_BOOTSTRAP_VERSION )"
167
- if $verbose ; then
168
- echo cmd/dist
169
- fi
170
165
if [ ! -x " $GOROOT_BOOTSTRAP /bin/go" ]; then
171
166
echo " ERROR: Cannot find $GOROOT_BOOTSTRAP /bin/go." >&2
172
167
echo " Set \$ GOROOT_BOOTSTRAP to a working Go tree >= Go 1.4." >&2
173
168
exit 1
174
169
fi
170
+ GOROOT_BOOTSTRAP_VERSION=$( $GOROOT_BOOTSTRAP /bin/go version | sed ' s/go version //' )
171
+ echo " Building Go cmd/dist using $GOROOT_BOOTSTRAP . ($GOROOT_BOOTSTRAP_VERSION )"
172
+ if $verbose ; then
173
+ echo cmd/dist
174
+ fi
175
175
if [ " $GOROOT_BOOTSTRAP " = " $GOROOT " ]; then
176
176
echo " ERROR: \$ GOROOT_BOOTSTRAP must not be set to \$ GOROOT" >&2
177
177
echo " Set \$ GOROOT_BOOTSTRAP to a working Go tree >= Go 1.4." >&2
You can’t perform that action at this time.
0 commit comments