mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-24 19:47:38 +00:00
Trim out \r
This commit is contained in:
parent
17efdff134
commit
503997a09a
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user