Index: build/android/adb_profile_chrome |
diff --git a/build/android/adb_profile_chrome b/build/android/adb_profile_chrome |
index 09d7bdabd46a5f169eb9be0d086de840da9b3c2f..c4445d1772d7042b30ff7b1b0056290e8db3667f 100755 |
--- a/build/android/adb_profile_chrome |
+++ b/build/android/adb_profile_chrome |
@@ -44,7 +44,7 @@ download_latest_trace() { |
TRACE_FILE=$(adb logcat -d | \ |
grep "Logging performance trace to file: " | \ |
tail -1 | \ |
- sed -E "s/.*\/storage\/emulated\/.+\/([^\r]+).*/\/sdcard\/Download\/\\1/") |
+ perl -pi -e "s/.*\/storage\/emulated\/.+\/([^\r]+).*/\/sdcard\/Download\/\\1/g") |
if [ -z "$TRACE_FILE" ]; then |
echo "Unable to determine trace file name" |
exit 1 |