summaryrefslogtreecommitdiffstats
path: root/abs/core/mythtv/stable-0.23/clean_all.sh
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/mythtv/stable-0.23/clean_all.sh')
-rwxr-xr-xabs/core/mythtv/stable-0.23/clean_all.sh22
1 files changed, 22 insertions, 0 deletions
diff --git a/abs/core/mythtv/stable-0.23/clean_all.sh b/abs/core/mythtv/stable-0.23/clean_all.sh
new file mode 100755
index 0000000..b56450e
--- /dev/null
+++ b/abs/core/mythtv/stable-0.23/clean_all.sh
@@ -0,0 +1,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!"
+