Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(114)

Unified Diff: tools/skpbench/_adb_path.py

Issue 2354273004: skpbench fixes for linux (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/skpbench/skpbench.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | tools/skpbench/skpbench.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698