From bdcc0437f61d9ef7df356003c2f594b2c52edc6e Mon Sep 17 00:00:00 2001 From: Lorenzo Stoakes Date: Fri, 15 Apr 2011 08:25:44 -0400 Subject: [PATCH] make: prevent rm provoking 'text file busy' errors. Trivial patch to stop intermediate rm'ing of binaries stopping build. R=rsc1, bradfitzgo, rsc CC=golang-dev https://golang.org/cl/4412045 --- src/Make.common | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Make.common b/src/Make.common index 34d7016f423..0b27d07f9a3 100644 --- a/src/Make.common +++ b/src/Make.common @@ -6,13 +6,13 @@ clean: rm -rf *.o *.a *.[$(OS)] [$(OS)].out $(CLEANFILES) install.clean: install - rm -rf *.o *.a *.[$(OS)] [$(OS)].out $(CLEANFILES) + rm -rf *.o *.a *.[$(OS)] [$(OS)].out $(CLEANFILES) || true test.clean: test - rm -rf *.o *.a *.[$(OS)] [$(OS)].out $(CLEANFILES) + rm -rf *.o *.a *.[$(OS)] [$(OS)].out $(CLEANFILES) || true testshort.clean: testshort - rm -rf *.o *.a *.[$(OS)] [$(OS)].out $(CLEANFILES) + rm -rf *.o *.a *.[$(OS)] [$(OS)].out $(CLEANFILES) || true %.make: $(MAKE) -C $* install