generate_source_tarball.sh: Create directory in TMPDIR when using WITH_TEMP
- Related: RHEL-52734
This commit is contained in:
parent
82e376a033
commit
f685749527
@ -118,7 +118,7 @@ if [ "$OPENJDK_LATEST" != "" ] ; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$WITH_TEMP" != "" ] ; then
|
if [ "$WITH_TEMP" != "" ] ; then
|
||||||
pushd "$(mktemp --directory temp-generated-source-tarball-XXX)"
|
pushd "$(mktemp --directory --tmpdir temp-generated-source-tarball-XXX)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$VERSION" = "" ] ; then
|
if [ "$VERSION" = "" ] ; then
|
||||||
@ -261,7 +261,7 @@ pushd "${FILE_NAME_ROOT}"
|
|||||||
mv "${TARBALL_NAME}" ..
|
mv "${TARBALL_NAME}" ..
|
||||||
popd
|
popd
|
||||||
if [ "$WITH_TEMP" != "" ] ; then
|
if [ "$WITH_TEMP" != "" ] ; then
|
||||||
echo "Tarball is: $(realpath --relative-to=.. .)/${TARBALL_NAME}"
|
echo "Tarball is: $(realpath .)/${TARBALL_NAME}"
|
||||||
popd
|
popd
|
||||||
else
|
else
|
||||||
echo -n "Done. You may want to remove the uncompressed version"
|
echo -n "Done. You may want to remove the uncompressed version"
|
||||||
|
@ -2500,6 +2500,7 @@ cjc.mainProgram(args)
|
|||||||
* Sun Aug 04 2024 Andrew Hughes <gnu.andrew@redhat.com> - 1:17.0.12.0.6-0.1.ea
|
* Sun Aug 04 2024 Andrew Hughes <gnu.andrew@redhat.com> - 1:17.0.12.0.6-0.1.ea
|
||||||
- generate_source_tarball.sh: Update examples in header for clarity
|
- generate_source_tarball.sh: Update examples in header for clarity
|
||||||
- generate_source_tarball.sh: Cleanup message issued when checkout already exists
|
- generate_source_tarball.sh: Cleanup message issued when checkout already exists
|
||||||
|
- generate_source_tarball.sh: Create directory in TMPDIR when using WITH_TEMP
|
||||||
- Related: RHEL-52734
|
- Related: RHEL-52734
|
||||||
|
|
||||||
* Sun Aug 04 2024 Thomas Fitzsimmons <fitzsim@redhat.com> - 1:17.0.12.0.6-0.1.ea
|
* Sun Aug 04 2024 Thomas Fitzsimmons <fitzsim@redhat.com> - 1:17.0.12.0.6-0.1.ea
|
||||||
|
Loading…
Reference in New Issue
Block a user