summaryrefslogtreecommitdiff
path: root/src/clean.bash
diff options
context:
space:
mode:
Diffstat (limited to 'src/clean.bash')
-rwxr-xr-xsrc/clean.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clean.bash b/src/clean.bash
index 4b6c6d73d..c4c74dde7 100755
--- a/src/clean.bash
+++ b/src/clean.bash
@@ -3,7 +3,7 @@
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
-rm -f $GOROOT/pkg/*.[6a]
+rm -rf $GOROOT/pkg/[0-9a-zA-Z_]*
rm -f $GOROOT/lib/*.[6a]
for i in lib9 libbio libmach_amd64 libregexp cmd runtime lib
do