Commit 503997a0 authored by vvb2060's avatar vvb2060 Committed by topjohnwu

Trim out \r

parent 17efdff1
......@@ -33,7 +33,7 @@ grep_prop() {
shift
local FILES=$@
[ -z "$FILES" ] && FILES='/system/build.prop'
sed -n "$REGEX" $FILES 2>/dev/null | head -n 1
cat $FILES | dos2unix | sed -n "$REGEX" 2>/dev/null | head -n 1
}
getvar() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment