diff options
Diffstat (limited to 'src/clean.bash')
-rwxr-xr-x | src/clean.bash | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/src/clean.bash b/src/clean.bash index cba2129cf..36b0c99fb 100755 --- a/src/clean.bash +++ b/src/clean.bash @@ -3,16 +3,15 @@ # 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 +for i in lib9 libbio libmach_amd64 libregexp syscall cmd runtime lib do cd $i - make clean - cd .. -done - -for i in cmd runtime lib -do - cd $i - bash clean.bash + case $i in + cmd | lib) + bash clean.bash + ;; + *) + make clean + esac cd .. done |