Exit if no fixes are obtained rather than try to run filters in openjdk_news.sh
Resolves: RHEL-103210
This commit is contained in:
		
							parent
							
								
									f79ba1f530
								
							
						
					
					
						commit
						d6256bcf5d
					
				| @ -2568,8 +2568,9 @@ require "copy_jdk_configs.lua" | ||||
| - Sync the copy of the portable specfile with the latest update | ||||
| - Add timezone data update check to openjdk_news.sh | ||||
| - Add duplicate check to openjdk_news.sh | ||||
| - Exit if no fixes are obtained rather than try to run filters in openjdk_news.sh | ||||
| - Related: RHEL-101799 | ||||
| - Related: RHEL-103210 | ||||
| - Resolves: RHEL-103210 | ||||
| 
 | ||||
| * Wed Jul 09 2025 Andrew Hughes <gnu.andrew@redhat.com> - 1:21.0.8.0.1-0.1.ea | ||||
| - Update get_bundle_versions.sh to match other scripts | ||||
|  | ||||
| @ -73,6 +73,11 @@ sort "${TMPDIR}/fixes2" "${TMPDIR}/fixes3" > "${TMPDIR}/fixes4" | ||||
| uniq "${TMPDIR}/fixes4" > "${TMPDIR}/fixes" | ||||
| rm -f "${TMPDIR}/fixes2" "${TMPDIR}/fixes3" | ||||
| 
 | ||||
| if ! [ -s "${TMPDIR}/fixes" ] ; then | ||||
|     echo "Failed to obtain fixes."; | ||||
|     exit 3; | ||||
| fi | ||||
| 
 | ||||
| echo "In ${TMPDIR}/fixes:" | ||||
| cat "${TMPDIR}/fixes" | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user