зеркало из https://github.com/golang/build.git
env: delete WORKDIR unless run with -k for netbsd-amd64 build.
Change-Id: I4daaf2320d031352301f98e7ba55858cee390b50 Reviewed-on: https://go-review.googlesource.com/21505 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Родитель
adc8f86220
Коммит
45e699cc5f
|
@ -27,6 +27,11 @@ fi
|
|||
|
||||
WORKDIR=work-NetBSD-${ARCH}
|
||||
|
||||
# Remove WORKDIR unless -k (keep) is given.
|
||||
if [ "$1" != "-k" ]; then
|
||||
rm -rf ${WORKDIR}
|
||||
fi
|
||||
|
||||
# Download and build anita (automated NetBSD installer).
|
||||
if ! sha1sum -c anita-${ANITA_VERSION}.tar.gz.sha1; then
|
||||
curl -vO http://www.gson.org/netbsd/anita/download/anita-${ANITA_VERSION}.tar.gz
|
||||
|
|
Загрузка…
Ссылка в новой задаче