[Buildroot] [PATCH] autobuild-run: SystemInfo: fix s/java/javac/ typo

Peter Korsgaard peter at korsgaard.com
Mon Sep 8 21:17:25 UTC 2014


Otherwise it fails on machines without javac

Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 scripts/autobuild-run | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/autobuild-run b/scripts/autobuild-run
index 496f941..accccef 100755
--- a/scripts/autobuild-run
+++ b/scripts/autobuild-run
@@ -115,7 +115,7 @@ class SystemInfo:
                                stdout=devnull, stderr=devnull) == 1:
                 self.has_java = True
 
-        self.has_java = False
+        self.has_javac = False
         if subprocess.call(["which", "javac"], stdout=devnull, stderr=devnull) == 0:
             if subprocess.call("javac -version | grep gcj", shell=True,
                                stdout=devnull, stderr=devnull) == 1:
-- 
2.0.0



More information about the buildroot mailing list