am 3b4cd1ff: am 0a11d90f: am 0a793bd9: Properly filter paths to locate device directories

* commit '3b4cd1ff758adaf233c823b229599f0e9ec7c21e':
  Properly filter paths to locate device directories
diff --git a/generate-blob-lists.sh b/generate-blob-lists.sh
index 059a61c..206e012 100755
--- a/generate-blob-lists.sh
+++ b/generate-blob-lists.sh
@@ -81,7 +81,7 @@
 
 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
     (