Skip to content

Commit

Permalink
Escape whitespace in PKG_JAVA_HOME when setting JAVA_HOME
Browse files Browse the repository at this point in the history
  • Loading branch information
msk committed Nov 20, 2017
1 parent 0a4b77a commit edb6aa5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mk/java-vm.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: java-vm.mk,v 1.110 2017/06/20 11:59:20 jperkin Exp $
# $NetBSD: java-vm.mk,v 1.111 2017/11/20 17:17:50 minskim Exp $
#
# This Makefile fragment handles Java dependencies and make variables,
# and is meant to be included by packages that require Java either at
Expand Down Expand Up @@ -342,7 +342,7 @@ CLASSPATH?= ${CLASSPATH_cmd:sh}
.endif

ALL_ENV+= CLASSPATH=${CLASSPATH:Q}
ALL_ENV+= JAVA_HOME=${PKG_JAVA_HOME}
ALL_ENV+= JAVA_HOME=${PKG_JAVA_HOME:Q}
BUILD_DEFS+= ${_USER_VARS.java}
BUILD_DEFS_EFFECTS+= ${_SYS_VARS.java}
MAKEFLAGS+= PKG_JVM=${PKG_JVM:Q}
Expand Down

0 comments on commit edb6aa5

Please sign in to comment.