aboutsummaryrefslogtreecommitdiff
path: root/lib/enca/data/clean.sh
diff options
context:
space:
mode:
authorwiso <wiso@svn>2009-12-17 20:21:11 +0000
committerwiso <wiso@svn>2009-12-17 20:21:11 +0000
commit560ec010d5e9ece64fdcfbdb82acaf08dd07e663 (patch)
tree879ca5a8ae6a7be06d5e80421a3dd80ef6a47443 /lib/enca/data/clean.sh
parenta7702dd400822df479d86bbb13a124f57ce634fd (diff)
[WIN32] added libenca 1.12 to trunk
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@25788 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'lib/enca/data/clean.sh')
-rw-r--r--lib/enca/data/clean.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/enca/data/clean.sh b/lib/enca/data/clean.sh
new file mode 100644
index 0000000000..c971951a30
--- /dev/null
+++ b/lib/enca/data/clean.sh
@@ -0,0 +1,11 @@
+#! /bin/bash
+for d in `ls */doit.sh | cut -d/ -f1`; do
+ echo '[ '$d' ]'
+ cd ./$d >/dev/null
+ test -f "xlt.c" && exit 1
+ base=`ls rawcounts.* | head -n1 | cut -d. -f2`
+ rm -vf *.c *.pair
+ ls *.base *.xbase | grep -v '^'$base'\.' | xargs rm -vf
+ cd .. >/dev/null
+done
+rm *~ 2>/dev/null