mirror of
https://git.centos.org/centos-git-common.git
synced 2025-02-23 16:22:56 +00:00
fix typo
This commit is contained in:
parent
1842fe9505
commit
0ec59defde
1 changed files with 2 additions and 2 deletions
|
@ -58,9 +58,9 @@ msg=$(git log --pretty=format:"%s")
|
||||||
pkg=$(echo ${msg} | cut -d' ' -f2)
|
pkg=$(echo ${msg} | cut -d' ' -f2)
|
||||||
|
|
||||||
if [[ ${RHELTAG} -eq 0 ]]; then
|
if [[ ${RHELTAG} -eq 0 ]]; then
|
||||||
thispkg=(echo ${pkg} | head -1)
|
thispkg=$(echo ${pkg} | head -1)
|
||||||
elif [[ ${RHELTAG} -eq 1 ]]; then
|
elif [[ ${RHELTAG} -eq 1 ]]; then
|
||||||
thispkg=(echo ${pkg} grep -v centos | head -1)
|
thispkg=$(echo ${pkg} grep -v centos | head -1)
|
||||||
else
|
else
|
||||||
echo 'Something went terribly wrong'
|
echo 'Something went terribly wrong'
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Add table
Reference in a new issue