generate_source_tarball.sh: Double-quote DEPTH reference (SC2086)

Related: RHEL-30943
This commit is contained in:
Andrew Hughes 2024-04-04 03:46:46 +01:00
parent 4d28ee1229
commit f0de87c520
2 changed files with 2 additions and 1 deletions

View File

@ -2551,6 +2551,7 @@ require "copy_jdk_configs.lua"
- openjdk_news.sh: shellcheck: Remove x-prefixes since we use Bash (SC2268)
- openjdk_news.sh: shellcheck: Remove deprecated egrep usage (SC2196)
- generate_source_tarball.sh: Output values of new options WITH_TEMP and OPENJDK_LATEST
- generate_source_tarball.sh: Double-quote DEPTH reference (SC2086)
- Related: RHEL-30943
* Sun Apr 14 2024 Andrew Hughes <gnu.andrew@redhat.com> - 1:21.0.3.0.1-0.1.ea

View File

@ -225,7 +225,7 @@ else
DEPTH="--depth=1";
echo "Remote repository detected; adding ${DEPTH}";
fi
git clone ${DEPTH} -b "${VERSION}" "${REPO_ROOT}" "${VERSION}"
git clone "${DEPTH}" -b "${VERSION}" "${REPO_ROOT}" "${VERSION}"
pushd "${VERSION}"
TAR_TIME="$(git log --max-count 1 --format=%cI)"
popd