Commit f6e4a27f authored by Wang Han's avatar Wang Han Committed by John Wu

Don't export $API when initializing shell

 * This becomes meanless after 9c0e1897.
parent 257ceb99
...@@ -78,7 +78,6 @@ class AppShellInit : BaseShellInit() { ...@@ -78,7 +78,6 @@ class AppShellInit : BaseShellInit() {
fun getBool(name: String) = getVar(name).toBoolean() fun getBool(name: String) = getVar(name).toBoolean()
shell.newJob().apply { shell.newJob().apply {
add("export API=${Build.VERSION.SDK_INT}")
add(context.rawResource(R.raw.manager)) add(context.rawResource(R.raw.manager))
if (shell.isRoot) { if (shell.isRoot) {
add(context.assets.open("util_functions.sh")) add(context.assets.open("util_functions.sh"))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment