mirror of
https://git.centos.org/centos-git-common.git
synced 2025-02-23 16:22:56 +00:00
don't process entire log
This commit is contained in:
parent
0ec59defde
commit
36ca6922b1
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ if [[ ! -e ${metadata} ]] || [[ ! -d .git ]] || [[ ! -d SOURCES ]]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
msg=$(git log --pretty=format:"%s")
|
||||
msg=$(git log --pretty=format:"%s" | grep import | head -n 1)
|
||||
pkg=$(echo ${msg} | cut -d' ' -f2)
|
||||
|
||||
if [[ ${RHELTAG} -eq 0 ]]; then
|
||||
|
|
Loading…
Add table
Reference in a new issue