mirror of
https://github.com/golang/go
synced 2024-11-26 13:58:48 -07:00
check $GOROOT before diving into build
R=r DELTA=6 (6 added, 0 deleted, 0 changed) OCL=16726 CL=16726
This commit is contained in:
parent
f4a8db667b
commit
047c6ec6da
@ -6,6 +6,12 @@
|
||||
set -e
|
||||
export MAKEFLAGS=-j4
|
||||
|
||||
if ! test -f $GOROOT/include/u.h
|
||||
then
|
||||
echo '$GOROOT is not set correctly or not exported' 1>&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
bash clean.bash
|
||||
|
||||
for i in lib9 libbio libmach_amd64 libregexp cmd runtime lib
|
||||
|
Loading…
Reference in New Issue
Block a user