Skip to contentSkip to conversation

autobuild-run: SystemInfo: fix s/java/javac/ typo

PATCH New Peter Korsgaard 2 participants 2 messages Sep 8, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 autobuild-run: SystemInfo: fix s/java/javac/ typo

Otherwise it fails on machines without javac

---
 scripts/autobuild-run | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/autobuild-run +1 -1
index 496f941..accccef 100755
@@ -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:
Signature · 1 line
2.0.0
#1 lore raw

PATCH 1/1 autobuild-run: SystemInfo: fix s/java/javac/ typo

Dear Peter Korsgaard,

Quoted 6 lines · Peter Korsgaard

Otherwise it fails on machines without javac

---
 scripts/autobuild-run | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com