mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-27 20:15:29 +00:00
Trim out \r
This commit is contained in:
parent
17efdff134
commit
503997a09a
@ -33,7 +33,7 @@ grep_prop() {
|
|||||||
shift
|
shift
|
||||||
local FILES=$@
|
local FILES=$@
|
||||||
[ -z "$FILES" ] && FILES='/system/build.prop'
|
[ -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() {
|
getvar() {
|
||||||
|
Loading…
Reference in New Issue
Block a user