aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJean-Baptiste Queru <jbq@google.com>2011-05-19 09:15:35 -0700
committerJean-Baptiste Queru <jbq@google.com>2011-05-19 09:15:38 -0700
commitce005716c8f841b4b6feeb0aeb3717da63372533 (patch)
treedcf167fea5def57087959a8d4c8f57b653958334 /scripts
parentddaee666bd81df44c19d49728ec379316a05c008 (diff)
downloadsource.android.com-ce005716c8f841b4b6feeb0aeb3717da63372533.tar.gz
Move the image cleanup script with other scripts.
That way, it doesn't get picked by the build into the out/ directory. Change-Id: I36548b02b03999ada9efb824fba24f2221b68d78
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/cleanup.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/cleanup.sh b/scripts/cleanup.sh
new file mode 100755
index 00000000..b1bbba1e
--- /dev/null
+++ b/scripts/cleanup.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+for img in *.png *.gif *.jpg
+do
+ FOUND=`grep -R $img ../site_src`
+ if [ -z "$FOUND" ]
+ then
+ mv $img useless/
+ fi
+done