Index: tools/skpbench/_adb_path.py |
diff --git a/tools/skpbench/_adb_path.py b/tools/skpbench/_adb_path.py |
index 72382bc1dc178af84c45f5186d25a7a21fcacd07..4d8bce44255675c7681ecc5d46e276a8e2949c98 100644 |
--- a/tools/skpbench/_adb_path.py |
+++ b/tools/skpbench/_adb_path.py |
@@ -22,11 +22,11 @@ def basename(pathname): |
def find_skps(skps): |
escapedskps = [re.sub(r'([^a-zA-Z0-9_/\.\*\?\[\!\]])', r'\\\1', x) |
for x in skps] |
- return __ADB.check_lines('''\ |
+ return __ADB.check('''\ |
for PATHNAME in %s; do |
if [ -d "$PATHNAME" ]; then |
find "$PATHNAME" -maxdepth 1 -name *.skp |
else |
echo "$PATHNAME" |
fi |
- done''' % ' '.join(escapedskps)) |
+ done''' % ' '.join(escapedskps)).splitlines() |