generate_source_tarball.sh: Create directory in TMPDIR when using WITH_TEMP
Related: RHEL-52723
This commit is contained in:
		
							parent
							
								
									94a7ee9fae
								
							
						
					
					
						commit
						296570ba0a
					
				@ -118,7 +118,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
 | 
			
		||||
@ -266,7 +266,7 @@ pushd "${FILE_NAME_ROOT}"
 | 
			
		||||
    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"
 | 
			
		||||
 | 
			
		||||
@ -2552,6 +2552,7 @@ cjc.mainProgram(args)
 | 
			
		||||
- Install alt-java man page from the misc tarball as it is no longer in the JDK image
 | 
			
		||||
- 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: Create directory in TMPDIR when using WITH_TEMP
 | 
			
		||||
- Related: RHEL-52723
 | 
			
		||||
 | 
			
		||||
* Tue Jul 30 2024 Andrew Hughes <gnu.andrew@redhat.com> - 1:21.0.2.0.13-3
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user