# HG changeset patch # Parent b78b7013b47fb4c190e7b1e2a21aaa7e2dee7674 Ignore chmod errors during mostlyclean-local, check-go-tool diff --git a/gotools/Makefile.am b/gotools/Makefile.am --- a/gotools/Makefile.am +++ b/gotools/Makefile.am @@ -123,7 +123,7 @@ MOSTLYCLEANFILES = \ *.sent mostlyclean-local: - chmod -R u+w check-go-dir + -chmod -R u+w check-go-dir rm -rf check-go-dir check-runtime-dir cgo-test-dir carchive-test-dir if NATIVE @@ -229,7 +229,7 @@ ECHO_ENV = PATH=`echo $(abs_builddir):$$ # check-go-tool runs `go test cmd/go` in our environment. check-go-tool: go$(EXEEXT) $(noinst_PROGRAMS) check-head check-gccgo check-gcc - chmod -R u+w check-go-dir + -chmod -R u+w check-go-dir rm -rf check-go-dir cmd_go-testlog $(MKDIR_P) check-go-dir/src/cmd/go cp $(cmdsrcdir)/go/*.go check-go-dir/src/cmd/go/