summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Baptiste Queru <jbq@google.com>2012-10-10 14:29:07 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2012-10-10 14:29:07 -0700
commit0a11d90f496a8f98ea0e01ebc7a001fdd1480675 (patch)
tree9b664742a097bf635ae7b419f11702dd8c0ce561
parentf5f56fadd3e21505abff0caa8ab3a237c8d932ad (diff)
parent0a793bd9730722fd79fe34a939bae1e9fc1bc1af (diff)
downloadandroid_device_common-0a11d90f496a8f98ea0e01ebc7a001fdd1480675.tar.gz
android_device_common-0a11d90f496a8f98ea0e01ebc7a001fdd1480675.tar.bz2
android_device_common-0a11d90f496a8f98ea0e01ebc7a001fdd1480675.zip
am 0a793bd9: Properly filter paths to locate device directories
* commit '0a793bd9730722fd79fe34a939bae1e9fc1bc1af': Properly filter paths to locate device directories
-rwxr-xr-xgenerate-blob-lists.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/generate-blob-lists.sh b/generate-blob-lists.sh
index c2c3278..0f34ad3 100755
--- a/generate-blob-lists.sh
+++ b/generate-blob-lists.sh
@@ -83,7 +83,7 @@ fi
for DEVICENAME in $DEVICES
do
- MANUFACTURERNAME=$( find device -type d | grep [^/]\*/[^/]\*/$DEVICENAME\$ | cut -f 2 -d / )
+ MANUFACTURERNAME=$( find device -type d | grep ^[^/]\*/[^/]\*/$DEVICENAME\$ | cut -f 2 -d / )
if test $(wc -l < $ARCHIVEDIR/$DEVICENAME-without.txt) != 0 -a $(wc -l < $ARCHIVEDIR/$DEVICENAME-with.txt) != 0
then
(