mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-06-12 13:17:39 +02:00
Switch over to ANDROID_HOME
Keep ANDROID_SDK_ROOT as a fallback
This commit is contained in:
@ -1,5 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -xe
|
||||
. scripts/test_common.sh
|
||||
|
||||
cvd_args='-daemon -enable_sandbox=false -memory_mb=8192 -report_anonymous_usage_stats=n'
|
||||
magisk_args='-init_boot_image=magisk_patched.img'
|
||||
|
||||
@ -96,9 +99,6 @@ run_test() {
|
||||
rm -f magisk_patched.img*
|
||||
}
|
||||
|
||||
set -xe
|
||||
. scripts/test_common.sh
|
||||
|
||||
if [ -z $CF_HOME ]; then
|
||||
print_error "! Environment variable CF_HOME is required"
|
||||
exit 1
|
||||
|
Reference in New Issue
Block a user