diff --git a/build/meta/com/google/android/update-binary b/build/meta/com/google/android/update-binary index f4650fb..8dc0fd2 100644 --- a/build/meta/com/google/android/update-binary +++ b/build/meta/com/google/android/update-binary @@ -39,7 +39,7 @@ error_no_space() { } get_block_for_mount_point() { - grep -v "^#" /etc/recovery.fstab | grep " $1 " | tail -n1 | tr -s ' ' | cut -d' ' -f1 + grep -v "^#" /etc/recovery.fstab | grep "[[:blank:]]$1[[:blank:]]" | tail -n1 | tr -s [:blank:] ' ' | cut -d' ' -f1 } find_block() {