]> glassweightruler.freedombox.rocks Git - waydroid.git/commitdiff
lxc: do prepend colon to Android PATHs in shell
authorJohn Zimmermann <me@johnnynator.dev>
Wed, 29 Sep 2021 20:39:42 +0000 (22:39 +0200)
committerErfan Abdi <erfangplus@gmail.com>
Fri, 1 Oct 2021 09:59:28 +0000 (13:29 +0330)
tools/helpers/lxc.py

index 5143b8aa5456a6ff476c975b4f54bf1f831b0125..42286846692f1c10e1a95d0b22b772652583263c 100644 (file)
@@ -282,7 +282,7 @@ def shell(args):
         command.append(args.COMMAND)
     else:
         command.append("/system/bin/sh")
-    subprocess.run(command, env={"PATH": os.environ['PATH'] + "/system/bin:/vendor/bin"})
+    subprocess.run(command, env={"PATH": os.environ['PATH'] + ":/system/bin:/vendor/bin"})
 
 def logcat(args):
     if status(args) != "RUNNING":