mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-28 13:17:39 +00:00
Fix installer options not read properly
This commit is contained in:
parent
3b68905037
commit
d6547f0701
@ -47,7 +47,7 @@ grep_prop() {
|
||||
|
||||
getvar() {
|
||||
local VARNAME=$1
|
||||
local VALUE=`eval echo \$$VARNAME`
|
||||
local VALUE=$(eval echo \$$VARNAME)
|
||||
[ ! -z $VALUE ] && return
|
||||
for DIR in /dev /data /cache /system; do
|
||||
VALUE=`grep_prop $VARNAME $DIR/.magisk`
|
||||
|
Loading…
x
Reference in New Issue
Block a user