summaryrefslogtreecommitdiff
path: root/src/make.bash
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2012-03-07 11:38:05 -0500
committerRuss Cox <rsc@golang.org>2012-03-07 11:38:05 -0500
commit63f36e8aeaaa2de0baae77cd2be75ec541f0e5c3 (patch)
tree3bc0570b2b1fa50d80d54b8aa7da5cebd6be151d /src/make.bash
parentf77f7faa56a80be1bfd733f5257b60853fb8f965 (diff)
downloadgo-63f36e8aeaaa2de0baae77cd2be75ec541f0e5c3.tar.gz
make.bash: fix old builds
Fixes issue 3222. R=golang-dev, gri CC=golang-dev http://codereview.appspot.com/5761044
Diffstat (limited to 'src/make.bash')
-rwxr-xr-xsrc/make.bash3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/make.bash b/src/make.bash
index aaee75e46..3668e9204 100755
--- a/src/make.bash
+++ b/src/make.bash
@@ -76,6 +76,9 @@ do
fi
done
+# Clean old generated file that will cause problems in the build.
+rm -f ./pkg/runtime/runtime_defs.go
+
# Finally! Run the build.
echo '# Building C bootstrap tool.'