Skip to content

Commit 9fef0ee

Browse files
authored
Update dumpyara.sh
1 parent 7a6869f commit 9fef0ee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dumpyara.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ description=$(grep -oP "(?<=^ro.build.description=).*" -hs {system,system/system
222222
is_ab=$(grep -oP "(?<=^ro.build.ab_update=).*" -hs {system,system/system,vendor}/build*.prop | head -1)
223223
[[ -z "${is_ab}" ]] && is_ab="false"
224224
branch=$(echo "$description" | tr ' ' '-')
225-
repo=$(echo "$brand"_"$codename"_dump | tr '[:upper:]' '[:lower:]')
225+
repo=$(echo "$brand"_"$codename"_dump | tr '[:upper:]' '[:lower:]' | tr -d '\r\n')
226226
platform=$(echo "$platform" | tr '[:upper:]' '[:lower:]' | tr -dc '[:print:]' | tr '_' '-' | cut -c 1-35)
227227
top_codename=$(echo "$codename" | tr '[:upper:]' '[:lower:]' | tr -dc '[:print:]' | tr '_' '-' | cut -c 1-35)
228228
manufacturer=$(echo "$manufacturer" | tr '[:upper:]' '[:lower:]' | tr -dc '[:print:]' | tr '_' '-' | cut -c 1-35)

0 commit comments

Comments
 (0)