generate_source_tarball.sh: Create directory in TMPDIR when using WITH_TEMP
Related: RHEL-30937
This commit is contained in:
parent
a4af1a85e6
commit
6fe2419676
@ -131,7 +131,7 @@ if [ "$OPENJDK_LATEST" != "" ] ; then
|
||||
fi
|
||||
|
||||
if [ "$WITH_TEMP" != "" ] ; then
|
||||
pushd "$(mktemp --directory temp-generated-source-tarball-XXX)"
|
||||
pushd "$(mktemp --directory --tmpdir temp-generated-source-tarball-XXX)"
|
||||
fi
|
||||
|
||||
if [ "$VERSION" = "" ] ; then
|
||||
@ -287,7 +287,7 @@ mv "${TARBALL_NAME}" ..
|
||||
|
||||
popd
|
||||
if [ "$WITH_TEMP" != "" ] ; then
|
||||
echo "Tarball is: $(realpath --relative-to=.. .)/${TARBALL_NAME}"
|
||||
echo "Tarball is: $(realpath .)/${TARBALL_NAME}"
|
||||
popd
|
||||
else
|
||||
echo -n "Done. You may want to remove the uncompressed version"
|
||||
|
@ -2924,6 +2924,7 @@ cjc.mainProgram(args)
|
||||
- generate_source_tarball.sh: Adapt version logic to work with 8u
|
||||
- generate_source_tarball.sh: Add quoting for SCRIPT_DIR and JCONSOLE_PATCH (SC2086)
|
||||
- generate_source_tarball.sh: Update examples in header for clarity
|
||||
- generate_source_tarball.sh: Create directory in TMPDIR when using WITH_TEMP
|
||||
- Sync patch set with portable build
|
||||
- Related: RHEL-30937
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user