Ignore chmod errors during mostlyclean-local, check-go-tool
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Wed, 26 Sep 2018 12:56:09 +0000 (12:56 +0000)
committerRainer Orth <ro@gcc.gnu.org>
Wed, 26 Sep 2018 12:56:09 +0000 (12:56 +0000)
* Makefile.am (mostlyclean-local): Ignore chmod errors.
(check-go-tool): Likewise.
* Makefile.in: Regenerate.

From-SVN: r264641

gotools/ChangeLog
gotools/Makefile.am
gotools/Makefile.in

index afcd7a211c107ba39854931ec65578362e79ec03..c35b79753f68c94fd3242b4255c0acd8a907fb7f 100644 (file)
@@ -1,3 +1,9 @@
+2018-09-26  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * Makefile.am (mostlyclean-local): Ignore chmod errors.
+       (check-go-tool): Likewise.
+       * Makefile.in: Regenerate.
+
 2018-09-24  Ian Lance Taylor  <iant@golang.org>
 
        * Makefile.am (mostlyclean-local): Run chmod on check-go-dir to
index cb4ffe7a66f4863393ce5a60caae419d26517ada..24967dd3ce6805a159ae4a930f05c03cf1a44096 100644 (file)
@@ -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):$${PATH} | sed 's,::*,:,g;s,^:*,,;s,:*$$,,
 
 # 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/
index acadfc64016d5db42f03ebefd72c263ba51a2e85..ce69d89feddae3c32e6d9cd2df53507dd1b0ebd9 100644 (file)
@@ -637,8 +637,8 @@ distclean-generic:
 maintainer-clean-generic:
        @echo "This command is intended for maintainers to use"
        @echo "it deletes files that may require special tools to rebuild."
-@NATIVE_FALSE@install-exec-local:
 @NATIVE_FALSE@uninstall-local:
+@NATIVE_FALSE@install-exec-local:
 clean: clean-am
 
 clean-am: clean-binPROGRAMS clean-generic clean-noinstPROGRAMS \
@@ -744,7 +744,7 @@ s-zdefaultcc: Makefile
        $(STAMP) $@ 
 
 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
 
 @NATIVE_TRUE@go$(EXEEXT): $(go_cmd_go_files) $(LIBGOTOOL) $(LIBGODEP)
@@ -808,7 +808,7 @@ mostlyclean-local:
 
 # check-go-tool runs `go test cmd/go` in our environment.
 @NATIVE_TRUE@check-go-tool: go$(EXEEXT) $(noinst_PROGRAMS) check-head check-gccgo check-gcc
-@NATIVE_TRUE@  chmod -R u+w check-go-dir
+@NATIVE_TRUE@  -chmod -R u+w check-go-dir
 @NATIVE_TRUE@  rm -rf check-go-dir cmd_go-testlog
 @NATIVE_TRUE@  $(MKDIR_P) check-go-dir/src/cmd/go
 @NATIVE_TRUE@  cp $(cmdsrcdir)/go/*.go check-go-dir/src/cmd/go/