generate_source_tarball.sh: Use long-style argument to grep
Related: RHEL-30946
This commit is contained in:
parent
3e53a21aff
commit
a97516ad23
@ -91,7 +91,7 @@ if [ "$OPENJDK_LATEST" != "" ] ; then
|
|||||||
VERSION=$(git ls-remote --tags --refs --sort=-version:refname \
|
VERSION=$(git ls-remote --tags --refs --sort=-version:refname \
|
||||||
"${OPENJDK_URL_DEFAULT}/${PROJECT_NAME}/${REPO_NAME}.git" \
|
"${OPENJDK_URL_DEFAULT}/${PROJECT_NAME}/${REPO_NAME}.git" \
|
||||||
"jdk-${FEATURE_VERSION}*" \
|
"jdk-${FEATURE_VERSION}*" \
|
||||||
| grep -v '\-ga$' \
|
| grep --invert-match '\-ga$' \
|
||||||
| head --lines 1 | cut --characters 52-)
|
| head --lines 1 | cut --characters 52-)
|
||||||
FILE_NAME_ROOT=open${VERSION}
|
FILE_NAME_ROOT=open${VERSION}
|
||||||
WITH_TEMP=1
|
WITH_TEMP=1
|
||||||
|
@ -2529,6 +2529,7 @@ cjc.mainProgram(args)
|
|||||||
- generate_source_tarball.sh: Ignore -ga tags with OPENJDK_LATEST
|
- generate_source_tarball.sh: Ignore -ga tags with OPENJDK_LATEST
|
||||||
- generate_source_tarball.sh: Fix whitespace
|
- generate_source_tarball.sh: Fix whitespace
|
||||||
- generate_source_tarball.sh: Remove trailing period in echo
|
- generate_source_tarball.sh: Remove trailing period in echo
|
||||||
|
- generate_source_tarball.sh: Use long-style argument to grep
|
||||||
- Related: RHEL-30946
|
- Related: RHEL-30946
|
||||||
|
|
||||||
* Sun Apr 14 2024 Andrew Hughes <gnu.andrew@redhat.com> - 1:21.0.3.0.1-0.2.ea
|
* Sun Apr 14 2024 Andrew Hughes <gnu.andrew@redhat.com> - 1:21.0.3.0.1-0.2.ea
|
||||||
|
Loading…
Reference in New Issue
Block a user