From 8977c6ea874beb5c4f12422acdb5c3a77a6fdab6 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Fri, 7 Jun 2024 21:45:33 +0000 Subject: feat(bin): allow command-line definition of paths --- bin/compile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bin/compile') diff --git a/bin/compile b/bin/compile index e5ad288..a6a5997 100755 --- a/bin/compile +++ b/bin/compile @@ -2,7 +2,9 @@ main() { # Replace this with your local location for the Java SE 6 JDK - local JAVA_HOME=~/Downloads/jdk1.6.0_45 + local JAVAC=${JAVAC:-~/Downloads/jdk1.6.0_45} + + echo "Using JAVAC=${JAVAC}" mkdir -p out -- cgit v1.2.3