From 4e5148bea90808186cdda4154e62e4297d706270 Mon Sep 17 00:00:00 2001 From: "Lott, Christopher (cl778h)" Date: Mon, 20 Jan 2020 18:13:08 -0500 Subject: [PATCH] Add quotes around variable to silence shellcheck Modify maven-javadoc-generate.sh to put double quotes around use of environment variable to silence shellcheck warning that I missed. No functional change to behavior. Change-Id: Icfd01adcff8ae03cf43fefd3751427ee2d0dc2b6 Signed-off-by: Lott, Christopher (cl778h) --- shell/maven-javadoc-generate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/maven-javadoc-generate.sh b/shell/maven-javadoc-generate.sh index 0f1cac3c..4a66eece 100644 --- a/shell/maven-javadoc-generate.sh +++ b/shell/maven-javadoc-generate.sh @@ -23,7 +23,7 @@ export MAVEN_OPTS # use absolute path as workaround for javadoc:aggregate # silent failure on relative path, for example "-f ." -maven_dir_abs=$(readlink -f $MAVEN_DIR) +maven_dir_abs=$(readlink -f "$MAVEN_DIR") # Disable SC2086 because we want to allow word splitting for $MAVEN_* parameters. # shellcheck disable=SC2086 -- 2.16.6