summaryrefslogtreecommitdiffstats
path: root/abs/core/mythtv/trunk/clean_all.sh
blob: 1ebdc4353b00bc816253af394c97147199c5a6b7 (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' 'mythflix' 'mythgallery' 'mythgame' 'mythmovies' 'mythmusic' '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!"