Skip to content

Commit 9b42b7d

Browse files
committed
fix for local jdk (issue processing#466)
1 parent 90719fa commit 9b42b7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/linux/processing

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ APPDIR=`dirname "$APPDIR"`
7171
log APPDIR
7272

7373
# Try using a local JDK from the same directory as this script
74-
JDKDIR=`readlink -f "$APPDIR/java"`
74+
JDKDIR=`readlink -f "$APPDIR/java"` && JDKDIR=`dirname "$JDKDIR"`/..
7575
make_jdkcp "$JDKDIR"
7676
log SUCCESS
7777

0 commit comments

Comments
 (0)