Commit 047c6ec6 authored by Russ Cox's avatar Russ Cox

check $GOROOT before diving into build

R=r
DELTA=6  (6 added, 0 deleted, 0 changed)
OCL=16726
CL=16726
parent f4a8db66
...@@ -6,6 +6,12 @@ ...@@ -6,6 +6,12 @@
set -e set -e
export MAKEFLAGS=-j4 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 bash clean.bash
for i in lib9 libbio libmach_amd64 libregexp cmd runtime lib for i in lib9 libbio libmach_amd64 libregexp cmd runtime lib
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment