mirror of
https://github.com/golang/go
synced 2024-11-26 10:38:07 -07:00
don't write cmp's output to the c file.
cope better with p4 not found. R=r DELTA=3 (0 added, 0 deleted, 3 changed) OCL=26877 CL=26879
This commit is contained in:
parent
0d3a043de9
commit
a2cbc2998d
@ -19,10 +19,10 @@ rm -f _builtin.c
|
|||||||
# in end user Go repositories.
|
# in end user Go repositories.
|
||||||
case "$USER" in
|
case "$USER" in
|
||||||
ken | r | rsc)
|
ken | r | rsc)
|
||||||
if ! cmp _builtin.c builtin.c.boot
|
if ! cmp _builtin.c builtin.c.boot >/dev/null 2>/dev/null
|
||||||
then
|
then
|
||||||
PATH=$PATH:/usr/local/bin
|
PATH=$PATH:/usr/local/bin # find p4 on OS X
|
||||||
p4 open builtin.c.boot >/dev/null
|
p4 open builtin.c.boot >/dev/null 2>/dev/null || true # if p4 is missing, so be it
|
||||||
cp _builtin.c builtin.c.boot
|
cp _builtin.c builtin.c.boot
|
||||||
fi
|
fi
|
||||||
esac
|
esac
|
||||||
|
Loading…
Reference in New Issue
Block a user