clean.sh (125B)
1 #!/bin/bash 2 3 dir=$(ls) 4 5 for i in $dir 6 do 7 if [ "$1" == 'all' ] || [ "$1" == $i ]; then 8 cd $i 9 make clean 10 cd .. 11 fi 12 done