mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-23 18:15:30 +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…
Reference in New Issue
Block a user