summaryrefslogtreecommitdiff
path: root/src/clean.bash
blob: 36b0c99fb5f584e31c802f9b0b98bf6a3c6c56c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash
# Copyright 2009 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.

for i in lib9 libbio libmach_amd64 libregexp syscall cmd runtime lib
do
	cd $i
	case $i in
	cmd | lib)
		bash clean.bash
		;;
	*)
		make clean
	esac
	cd ..
done