summaryrefslogtreecommitdiffstats
path: root/abs/core/mythtv/trunk/clean_all.sh
blob: b56450ed5e64e34f90b70de5d9036d6b7ff82ca5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh

buildlist=('mythtv' 'mytharchive' 'mythbrowser' 'mythgallery' 'mythgame' 'mythmovies' 'mythmusic' 'mythnetvision' 'mythnews' 'mythvideo' 'mythweather' 'mythzoneminder' 'mythweb' 'myththemes' 'morethemes')

# clean up current directory
rm -f *~

# clean up mythtv directories
for i in `echo ${buildlist[@]:0}`
do
	echo "-- cleaning $i"
	cd ./$i

	# clean up everything
	rm -rf pkg src
	rm -f *~

	cd ..
done

echo "DONE!"