* gotools patch committed: Only chmod check-go-dir if it exists
@ 2019-05-27 19:29 Ian Lance Taylor
0 siblings, 0 replies; only message in thread
From: Ian Lance Taylor @ 2019-05-27 19:29 UTC (permalink / raw)
To: gcc-patches, gofrontend-dev
[-- Attachment #1: Type: text/plain, Size: 371 bytes --]
This patch tweaks the gotools Makefile to only chmod check-go-dir if
it exists. This avoids a pointless error message in a fresh build.
Bootstrapped and ran gotools tests on x86_64-pc-linux-gnu. Committed
to mainline.
Ian
2019-05-27 Ian Lance Taylor <iant@golang.org>
* Makefile.am (check-go-tool): Only chmod check-go-dir if it
exists.
* Makefile.in: Regenerate.
[-- Attachment #2: patch.txt --]
[-- Type: text/plain, Size: 570 bytes --]
Index: Makefile.am
===================================================================
--- Makefile.am (revision 271666)
+++ Makefile.am (working copy)
@@ -207,7 +207,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
+ if test -d check-go-dir; then chmod -R u+w check-go-dir; fi
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/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-05-27 19:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-27 19:29 gotools patch committed: Only chmod check-go-dir if it exists Ian Lance Taylor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).