mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-27 12:05:30 +00:00
Legacy adb shell does not have uname
This commit is contained in:
parent
175d920c94
commit
c3e00c279d
@ -31,7 +31,7 @@ if [ ! -f /system/build.prop ]; then
|
|||||||
cd "`dirname "$0"`/.."
|
cd "`dirname "$0"`/.."
|
||||||
adb push native/out/x86/busybox scripts/emulator.sh /data/local/tmp
|
adb push native/out/x86/busybox scripts/emulator.sh /data/local/tmp
|
||||||
emu_arch=`adb shell uname -m`
|
emu_arch=`adb shell uname -m`
|
||||||
if [ $emu_arch = "x86_64" ]; then
|
if [ "$emu_arch" = "x86_64" ]; then
|
||||||
adb push native/out/x86/magiskinit64 /data/local/tmp/magiskinit
|
adb push native/out/x86/magiskinit64 /data/local/tmp/magiskinit
|
||||||
else
|
else
|
||||||
adb push native/out/x86/magiskinit /data/local/tmp
|
adb push native/out/x86/magiskinit /data/local/tmp
|
||||||
|
Loading…
Reference in New Issue
Block a user