Index: tools/skpbench/_adb_path.py |
diff --git a/tools/skpbench/_adb_path.py b/tools/skpbench/_adb_path.py |
index 47eb7de17eddca702792c59b03a36fb16379a5ff..72382bc1dc178af84c45f5186d25a7a21fcacd07 100644 |
--- a/tools/skpbench/_adb_path.py |
+++ b/tools/skpbench/_adb_path.py |
@@ -25,7 +25,7 @@ def find_skps(skps): |
return __ADB.check_lines('''\ |
for PATHNAME in %s; do |
if [ -d "$PATHNAME" ]; then |
- ls "$PATHNAME"/*.skp |
+ find "$PATHNAME" -maxdepth 1 -name *.skp |
else |
echo "$PATHNAME" |
fi |