aboutsummaryrefslogtreecommitdiff
path: root/bin/compile
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-06-07 21:45:33 +0000
committerFuwn <[email protected]>2024-06-07 21:45:33 +0000
commit8977c6ea874beb5c4f12422acdb5c3a77a6fdab6 (patch)
treeff47f15bd2d97c79fc78fca4eef5c81e0cf39823 /bin/compile
parentfeat: initial release (diff)
downloadworldsplayer_source_editor-8977c6ea874beb5c4f12422acdb5c3a77a6fdab6.tar.xz
worldsplayer_source_editor-8977c6ea874beb5c4f12422acdb5c3a77a6fdab6.zip
feat(bin): allow command-line definition of paths
Diffstat (limited to 'bin/compile')
-rwxr-xr-xbin/compile4
1 files changed, 3 insertions, 1 deletions
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