We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
if
1 parent 53b97c9 commit bb6ef88Copy full SHA for bb6ef88
lib/java_build_utils.sh
@@ -116,8 +116,11 @@ jvb::mvn_cmd() {
116
################################################################################
117
118
jvb::__auto_run_when_source() {
119
- # set VAR IF absent
120
- JVB_JAVA_OPT_DEBUG_PORT="${JVB_JAVA_OPT_DEBUG_PORT:-$JVB_JAVA_OPT_DEFAULT_DEBUG_PORT}"
+ # set VAR if absent
+
121
+ if [ -z "${JVB_JAVA_OPT_DEBUG_PORT:-}" ]; then
122
+ JVB_JAVA_OPT_DEBUG_PORT="$JVB_JAVA_OPT_DEFAULT_DEBUG_PORT"
123
+ fi
124
125
if [ -z "${JVB_JAVA_OPTS[*]:-}" ]; then
126
JVB_JAVA_OPTS=("${JVB_DEFAULT_JAVA_OPTS[@]}")
0 commit comments