]> Cypherpunks.ru repositories - gostls13.git/commit
clean.bash: stop if $GOROOT is not set
authorChristopher Wedgwood <cw@f00f.org>
Sun, 13 Dec 2009 20:27:19 +0000 (12:27 -0800)
committerRuss Cox <rsc@golang.org>
Sun, 13 Dec 2009 20:27:19 +0000 (12:27 -0800)
commit2ef330ebd9c24ff7db7bc6222f860f6421a5e320
tree55e818c41d9723dfde8ce6951e1257b4dabd3c1a
parent31645cc0bb223b70cd96cbd82ae8534a03d04004
clean.bash: stop if $GOROOT is not set

Doing rm -rf /pkg/.. blindly isn't nice.  It could have
unintended consequences.

Secondly set bash to abort on (unexpected) errors.

R=dho, rsc
CC=golang-dev
https://golang.org/cl/176056
src/clean.bash