From 380cdfe55011c654d07fdf82ff8e0c6264729253 Mon Sep 17 00:00:00 2001 From: Ulrich Müller Date: Thu, 23 Mar 2023 17:39:39 +0100 Subject: java-pkg-simple.eclass: Quote argument of ":" command MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This avoids globbing, see: https://www.shellcheck.net/wiki/SC2223 Signed-off-by: Ulrich Müller --- eclass/java-pkg-simple.eclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'eclass') diff --git a/eclass/java-pkg-simple.eclass b/eclass/java-pkg-simple.eclass index a1589b025617..929ce68c6c07 100644 --- a/eclass/java-pkg-simple.eclass +++ b/eclass/java-pkg-simple.eclass @@ -116,7 +116,7 @@ fi # @ECLASS_VARIABLE: JAVA_ENCODING # @DESCRIPTION: # The character encoding used in the source files. -: ${JAVA_ENCODING:=UTF-8} +: "${JAVA_ENCODING:=UTF-8}" # @ECLASS_VARIABLE: JAVAC_ARGS # @DEFAULT_UNSET @@ -148,7 +148,7 @@ fi # @ECLASS_VARIABLE: JAVA_JAR_FILENAME # @DESCRIPTION: # The name of the jar file to create and install. -: ${JAVA_JAR_FILENAME:=${PN}.jar} +: "${JAVA_JAR_FILENAME:=${PN}.jar}" # @ECLASS_VARIABLE: JAVA_BINJAR_FILENAME # @DEFAULT_UNSET @@ -161,7 +161,7 @@ fi # If ${JAVA_MAIN_CLASS} is set, we will create a launcher to # execute the jar, and ${JAVA_LAUNCHER_FILENAME} will be the # name of the script. -: ${JAVA_LAUNCHER_FILENAME:=${PN}-${SLOT}} +: "${JAVA_LAUNCHER_FILENAME:=${PN}-${SLOT}}" # @ECLASS_VARIABLE: JAVA_TESTING_FRAMEWORKS # @DEFAULT_UNSET -- cgit v1.2.3-65-gdbad